From 65cd79f7f574532e5f91d581aaff923c29655bbd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 15 Jul 2013 22:20:06 -0400 Subject: [PATCH 1/1] man: add FILES section to systemd-journald.service(8) --- man/systemd-journald.service.xml | 37 +++++++++++++++++++++++++++++++- src/core/manager.c | 4 ---- 2 files changed, 36 insertions(+), 5 deletions(-) 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); -- 2.30.2