summaryrefslogtreecommitdiff
path: root/systemd/docs/journal.rst
Commit message (Collapse)AuthorAgeFilesLines
* Move docs to top level and include in manifestZbigniew Jędrzejewski-Szmek2015-07-081-64/+0
|
* systemd-python: also update the documentationZbigniew Jędrzejewski-Szmek2015-07-051-1/+2
| | | | sphinx, oh sphinx, why do you require manual ficksups all the time?
* systemd-python: wrap sd_login_monitorZbigniew Jędrzejewski-Szmek2015-07-051-1/+1
|
* systemd-python: allow retrieval of single fieldsZbigniew Jędrzejewski-Szmek2015-07-051-0/+3
| | | | | This can give huge efficiency gains, e.g. if only MESSAGE is required and all other fields can be ignored.
* systemd-python: export sd_j_get_fd, sd_j_reliable_fd, sd_j_closeZbigniew Jędrzejewski-Szmek2015-07-051-0/+16
| | | | | | | | | sd_journal_get_fd(j) is called j.fileno(), for compatiblity with Python conventions for file-like objects. More importantly, those new .seek_head() and .seek_tail() do not call .get_next(). This is better, if one wants to skip before retrieving an entry.
* systemd-python: split .seek() into .seek_head() and .seek_tail()Zbigniew Jędrzejewski-Szmek2015-07-051-5/+0
| | | | | This way python code follows the original interface more closely. Also, .seek(0, journal.SEEK_END) was just to much to type.
* python-systemd: rename Journal to ReaderZbigniew Jędrzejewski-Szmek2015-07-051-2/+2
| | | | | | It seems inevitable that we'll also grow a writing interface, and then it'll be cumbersome to have a "Journal" for reading, and a "Writer" for writing.
* systemd-python: return both parts of sd_journal_get_monotonic_usecZbigniew Jędrzejewski-Szmek2015-07-051-0/+2
| | | | | In Python 3, a named tuple is used. In Python 2, a simple tuple is used. In either case, the pair is (timestamp, bootid).
* systemd-python: document attributesZbigniew Jędrzejewski-Szmek2015-07-051-0/+23
| | | | | In id128 it would be better to add everything automatically, but sphinx cannot do this right now.
* sphinx: document Journal class tooZbigniew Jędrzejewski-Szmek2015-07-051-0/+13
|
* python: build html docs using sphinxZbigniew Jędrzejewski-Szmek2015-07-051-0/+11
Build instructions: make make DESTIDIR=/tmp/... install make DESTIDIR=/tmp/... sphinx-html sphinx-man sphinx-epub ...