summaryrefslogtreecommitdiff
path: root/docs/journal.rst
Commit message (Collapse)AuthorAgeFilesLines
* reader: add SD_JOURNAL_OS_ROOT and rework flag passingZbigniew Jędrzejewski-Szmek2016-09-211-0/+1
| | | | | | | | | | | | | | | | | Let's pass any flags through to the journal functions without checking validity. Those functions do their own checking, so there's no need to second-guess. The semantics for _Reader(flags=0) are a bit changed: before, this would be transformed into sd_journal_open(SD_J_LOCAL_ONLY). Now, this results in sd_journal_open(0). Previous behaviour should be achieved by not specifying the flags at all. This change is necessary, because previously it was not possible to pass flags=0 to sd_journal_open(0), i.e. it was not possible to "merge" journals through the Python interface. Similarly, Reader(flags=0) now means to open all journals, and Reader(flags=None) is the same as Reader(flags=LOCAL_ONLY).
* tests: also collect doctests from rstZbigniew Jędrzejewski-Szmek2015-09-051-2/+36
| | | | There isn't much to test now, but it doesn't hurt to enable.
* Move docs to top level and include in manifestZbigniew Jędrzejewski-Szmek2015-07-081-0/+64