From: Zbigniew Jędrzejewski-Szmek Date: Tue, 16 Jul 2013 02:20:06 +0000 (-0400) Subject: man: add FILES section to systemd-journald.service(8) X-Git-Tag: v206~92 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=65cd79f7f574532e5f91d581aaff923c29655bbd man: add FILES section to systemd-journald.service(8) --- diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml index d751f9b85..45091c62a 100644 --- a/man/systemd-journald.service.xml +++ b/man/systemd-journald.service.xml @@ -191,6 +191,40 @@ directory. + + Files + + + + /etc/systemd/journald.conf + + Configure + systemd-journald + behaviour. See + journald.conf5. + + + + + /var/log/journal/machine-id/*.journal + /var/log/journal/machine-id/*.journal~ + + systemd-journald + writes entries to files in + /var/log/journal/machine-id/ + with the .journal + suffix. If the daemon is stopped + uncleanly, or if the files are found + to be corrupted, they are renamed + using the .journal~ + suffix, and + systemd-journald + starts writing to a new file. + + + + + See Also @@ -199,7 +233,8 @@ journald.conf5, systemd.journal-fields7, sd-journal3, - setfacl1 + setfacl1, + pydoc systemd.journal. diff --git a/src/core/manager.c b/src/core/manager.c index ad1a8d617..6c082c96b 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -301,8 +301,6 @@ static int manager_watch_idle_pipe(Manager *m) { } log_debug("Set up idle_pipe watch."); - log_debug("m->epoll_fd=%d m->idle_pipe_watch.fd=%d", - m->epoll_fd, m->idle_pipe_watch.fd); return 0; @@ -317,8 +315,6 @@ static void manager_unwatch_idle_pipe(Manager *m) { if (m->idle_pipe_watch.type != WATCH_IDLE_PIPE) return; - log_debug("m->epoll_fd=%d m->idle_pipe_watch.fd=%d", - m->epoll_fd, m->idle_pipe_watch.fd); assert_se(epoll_ctl(m->epoll_fd, EPOLL_CTL_DEL, m->idle_pipe_watch.fd, NULL) >= 0); watch_init(&m->idle_pipe_watch);