chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nspawn: fix detection of missing /proc/self/loginuid
[elogind.git]
/
src
/
python-systemd
/
docs
/
journal.rst
diff --git
a/src/python-systemd/docs/journal.rst
b/src/python-systemd/docs/journal.rst
index 9dc495ffdb685ff5b331f822598b82e2a6183366..ea74cf85c408f499255e95a091db684e1173930b 100644
(file)
--- a/
src/python-systemd/docs/journal.rst
+++ b/
src/python-systemd/docs/journal.rst
@@
-23,6
+23,9
@@
Accessing the Journal
.. automethod:: __init__
.. automethod:: __init__
+.. autofunction:: _get_catalog
+.. autofunction:: get_catalog
+
.. autoclass:: Monotonic
.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS
.. autoclass:: Monotonic
.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS
@@
-39,7
+42,7
@@
event loop:
>>> j = journal.Reader()
>>> j.seek_tail()
>>> p = select.poll()
>>> j = journal.Reader()
>>> j.seek_tail()
>>> p = select.poll()
- >>> p.register(j,
select.POLLIN
)
+ >>> p.register(j,
j.get_events()
)
>>> p.poll()
[(3, 1)]
>>> j.get_next()
>>> p.poll()
[(3, 1)]
>>> j.get_next()
@@
-50,7
+53,8
@@
Journal access types
.. autoattribute:: systemd.journal.LOCAL_ONLY
.. autoattribute:: systemd.journal.RUNTIME_ONLY
.. autoattribute:: systemd.journal.LOCAL_ONLY
.. autoattribute:: systemd.journal.RUNTIME_ONLY
-.. autoattribute:: systemd.journal.SYSTEM_ONLY
+.. autoattribute:: systemd.journal.SYSTEM
+.. autoattribute:: systemd.journal.CURRENT_USER
Journal event types
~~~~~~~~~~~~~~~~~~~
Journal event types
~~~~~~~~~~~~~~~~~~~