diff options
author | Daniel Mack <github@zonque.org> | 2015-07-08 09:38:38 -0400 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-07-08 09:38:38 -0400 |
commit | b9fd7bb60a81849989c2102e46ee97e79b899328 (patch) | |
tree | 25393ad57584aa7e12d15850ed114a31e391fda3 /src/python-systemd/docs/journal.rst | |
parent | 9a50ce20ef60263a6c88c29470ce761fcc424f2d (diff) | |
parent | 2799e519cabb6dfa99341b9a56ebd4dc2a4ec22a (diff) |
Merge pull request #501 from keszybz/remove-python-systemd
Remove python-systemd
Diffstat (limited to 'src/python-systemd/docs/journal.rst')
-rw-r--r-- | src/python-systemd/docs/journal.rst | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/src/python-systemd/docs/journal.rst b/src/python-systemd/docs/journal.rst deleted file mode 100644 index ea74cf85c4..0000000000 --- a/src/python-systemd/docs/journal.rst +++ /dev/null @@ -1,64 +0,0 @@ -`systemd.journal` module -======================== - -.. automodule:: systemd.journal - :members: send, sendv, stream, stream_fd - :undoc-members: - -`JournalHandler` class ----------------------- - -.. autoclass:: JournalHandler - -Accessing the Journal ---------------------- - -.. autoclass:: _Reader - :undoc-members: - :inherited-members: - -.. autoclass:: Reader - :undoc-members: - :inherited-members: - - .. automethod:: __init__ - -.. autofunction:: _get_catalog -.. autofunction:: get_catalog - -.. autoclass:: Monotonic - -.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS - -Example: polling for journal events -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -This example shows that journal events can be waited for (using -e.g. `poll`). This makes it easy to integrate Reader in an external -event loop: - - >>> import select - >>> from systemd import journal - >>> j = journal.Reader() - >>> j.seek_tail() - >>> p = select.poll() - >>> p.register(j, j.get_events()) - >>> p.poll() - [(3, 1)] - >>> j.get_next() - - -Journal access types -~~~~~~~~~~~~~~~~~~~~ - -.. autoattribute:: systemd.journal.LOCAL_ONLY -.. autoattribute:: systemd.journal.RUNTIME_ONLY -.. autoattribute:: systemd.journal.SYSTEM -.. autoattribute:: systemd.journal.CURRENT_USER - -Journal event types -~~~~~~~~~~~~~~~~~~~ - -.. autoattribute:: systemd.journal.NOP -.. autoattribute:: systemd.journal.APPEND -.. autoattribute:: systemd.journal.INVALIDATE |