[systemd-commits] 2 commits - src/journal
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Sep 10 04:18:46 PDT 2012
src/journal/journal-authenticate.c | 4 +++-
src/journal/journald.c | 1 -
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit c17a8454f7ec728ef1ba8bac4a37e8cb38c56e3b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Sep 10 13:18:39 2012 +0200
journald: don't do debug logging by default
diff --git a/src/journal/journald.c b/src/journal/journald.c
index a316771..5de3371 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1492,7 +1492,6 @@ int main(int argc, char *argv[]) {
log_set_target(LOG_TARGET_SAFE);
log_set_facility(LOG_SYSLOG);
- log_set_max_level(LOG_DEBUG);
log_parse_environment();
log_open();
commit 272410e1790cb407bcedee4e5dfaac3f625957af
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Sep 10 13:18:22 2012 +0200
journald: don't complain if fss key does not exist
diff --git a/src/journal/journal-authenticate.c b/src/journal/journal-authenticate.c
index 586daf3..593bf7e 100644
--- a/src/journal/journal-authenticate.c
+++ b/src/journal/journal-authenticate.c
@@ -328,7 +328,9 @@ int journal_file_fss_load(JournalFile *f) {
fd = open(p, O_RDWR|O_CLOEXEC|O_NOCTTY, 0600);
if (fd < 0) {
- log_error("Failed to open %s: %m", p);
+ if (errno != ENOENT)
+ log_error("Failed to open %s: %m", p);
+
r = -errno;
goto finish;
}
More information about the systemd-commits
mailing list