Steven Hiscocks
5bb2b8d5e4
systemd-python: _reader add_match takes single string
...
python code now takes care of multiple matches
2013-02-22 16:57:44 +01:00
Steven Hiscocks
a49f4d17bf
systemd-python: correct data_threshold error return value
2013-02-22 16:57:44 +01:00
Steven Hiscocks
d2dd0265b5
systemd-python: updated _reader header to standard license
2013-02-22 16:57:44 +01:00
Steven Hiscocks
7a1b9cd5e4
systemd-python: Moved _reader datetime usage to python
2013-02-22 16:57:44 +01:00
Steven Hiscocks
71766afa2d
systemd-python: Tidy up _reader error handling
2013-02-22 16:57:44 +01:00
Steven Hiscocks
bf1ced5503
systemd-python: some python3 and bug fixes
2013-02-22 16:57:44 +01:00
Steven Hiscocks
6a71de70e5
systemd-python: implement this_boot/this_machine in Python
2013-02-22 16:57:43 +01:00
Steven Hiscocks
25523db4e1
systemd-python: Journal log_level moved to python
2013-02-22 16:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
c1db45c6a5
sphinx: document Journal class too
2013-02-22 16:57:43 +01:00
Steven Hiscocks
3aa8f0861c
systemd-python: move default call dicts from C to python
2013-02-22 16:57:43 +01:00
Steven Hiscocks
3ce2cc25bb
systemd-python: MESSAGE_ID as UUID for Journal
2013-02-22 16:57:43 +01:00
Steven Hiscocks
2d0603bd97
systemd-python: moved PyRun_String to journal.py code
2013-02-22 16:57:43 +01:00
Steven Hiscocks
c4e9b5b557
systemd-python: add Journal class for reading journal
2013-02-22 16:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
9015fa646e
python: build html docs using sphinx
...
Build instructions:
make
make DESTIDIR=/tmp/... install
make DESTIDIR=/tmp/... sphinx-html sphinx-man sphinx-epub ...
2013-02-22 16:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
afcd68c149
python: utilize uuid.UUID in logging
2013-02-22 16:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
927e96326c
python: add systemd.id128 module
...
uuid.UUIDs are utilized to hold UUID values.
2013-02-22 16:57:43 +01:00
Marti Raudsepp
73c0495f68
python: add journal backend for the logging framework
...
Supports Python versions 2.6 through 3.3 (tested on 2.7 and 3.2).
See JournalHandler docstring for usage details.
[zj: - use send() instead of using sendv() directly
- do exception handling like in the logging module
- bumped min version to python2.6, since the module
does not work with python2.5 anyway ]
2012-11-13 11:13:52 +01:00
Zbigniew Jędrzejewski-Szmek
c94f4b8b53
systemd-python: fix nesting of #ifs and #pragmas
2012-11-13 02:23:02 +01:00
Lennart Poettering
ff89a42a86
python: make gcc shut up
2012-09-13 19:34:09 +02:00
Lennart Poettering
c4164442de
python: fix error handling, and allocate argument array on the stack
2012-09-13 04:25:59 +02:00
Lennart Poettering
0aee68ad02
python: reindent to follow coding style
2012-09-13 04:16:10 +02:00
Lennart Poettering
6b91ae13f2
python: change license to LGPL 2.1
...
The original license has been MIT for this code, but David Strauss (its
original author) agreed to relicense it to LGPL 2.1 for inclusion in
systemd.
2012-09-13 04:06:11 +02:00
Lennart Poettering
8d7e170a52
python: integrate David Strauss' python-systemd package
2012-09-13 04:01:18 +02:00