From: Lennart Poettering Date: Thu, 31 May 2012 23:05:38 +0000 (+0200) Subject: man: document systemd-journal X-Git-Tag: v185~19 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01cf0ca850dd1c21e1c405a4493fe61d0c28d721;p=systemd man: document systemd-journal --- diff --git a/Makefile.am b/Makefile.am index 2e29a0f4..597711ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -499,6 +499,7 @@ MANPAGES = \ man/systemd-machine-id-setup.1 \ man/systemd-detect-virt.1 \ man/journald.conf.5 \ + man/systemd-journald.service.8 \ man/journalctl.1 \ man/systemd-inhibit.1 @@ -507,13 +508,15 @@ MANPAGES_ALIAS = \ man/poweroff.8 \ man/init.1 \ man/systemd-modules-load.8 \ - man/systemd-sysctl.8 + man/systemd-sysctl.8 \ + man/systemd-journald.8 man/reboot.8: man/halt.8 man/poweroff.8: man/halt.8 man/init.1: man/systemd.1 man/systemd-modules-load.8: man/systemd-modules-load.service.8 man/systemd-sysctl.8: man/systemd-sysctl.service.8 +man/systemd-journald.8: man/systemd-journald.service.8 XML_FILES = \ ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} diff --git a/man/journalctl.xml b/man/journalctl.xml index 5e0c6dd5..de02e4e2 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -56,10 +56,11 @@ Description - journalctl may be - used to query the contents of the + journalctl may be used to + query the contents of the systemd1 - journal. + journal as written by + systemd-journald.service8. If called without parameter will show the full contents of the journal, starting with the oldest @@ -254,6 +255,7 @@ See Also systemd1, + systemd-journald.service8, systemctl1, systemd.journal-fields7, journald.conf5 diff --git a/man/journald.conf.xml b/man/journald.conf.xml index cce945b7..5ad0f02b 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -48,13 +48,15 @@ - journald.conf + /etc/systemd/journald.conf Description - This files configures various parameters of the systemd journal service. + This files configures various parameters of the + systemd journal service + systemd-journald.service8. @@ -246,6 +248,7 @@ See Also systemd1, + systemd-journald.service8, journalctl1, systemd.journal-fields7, systemd.conf5 diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 0d0c9b0e..33ddf621 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -48,7 +48,7 @@ - logind.conf + /etc/systemd/logind.conf diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml new file mode 100644 index 00000000..202ea004 --- /dev/null +++ b/man/systemd-journald.service.xml @@ -0,0 +1,110 @@ + + + + + + + + + systemd-journald + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-journald + 8 + + + + systemd-journald.service + systemd-journald + systemd Journal Service + + + + systemd-journald.service + /usr/lib/systemd/systemd-journald + + + + Description + + systemd-journald is a + system service that collects and stores logging + data. It creates and maintains structured, indexed + journals based on logging information that is received + from the kernel, from user processes via the libc + syslog3 + call, from STDOUT/STDERR of system services or via its + native API. It will implicitly collect numerous meta + data fields for each log messages in a secure and + unfakeable way. See + systemd.journal-fields7 + for more information about the collected meta data. + + + Log data collected by the journal is primarily + text based but can also include binary data where + necessary. All objects stored in the journal can be up + to 2^64-1 bytes in size. + + By default the journal stores log data in + /run/log/journal/. Since + /run/ is volatile log data is + lost at reboot. To make the data persistant it + is sufficient to create + /var/log/journal/ where + systemd-journald will then store + the data. + + systemd-journald will + forward all received log messages to the AF_UNIX + SOCK_DGRAM socket + /run/systemd/journal/syslog (if it exists) which + may be used by UNIX syslog daemons to process the data + further. + + See + journald.conf5 + for information about the configuration of this + service. + + + + See Also + + systemd1, + journalctl1, + journald.conf5, + systemd.journal-fields7 + + + + diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in index da07cb9c..d169b44a 100644 --- a/units/systemd-journald.service.in +++ b/units/systemd-journald.service.in @@ -7,7 +7,7 @@ [Unit] Description=Journal Service -Documentation=man:journald.conf(5) +Documentation=man:systemd-journald.service(7) man:journald.conf(5) DefaultDependencies=no Requires=systemd-journald.socket After=systemd-journald.socket