From: Lennart Poettering Date: Mon, 8 Nov 2010 03:43:17 +0000 (-0500) Subject: log: downgrade syslog connection failure message since it might happen during normal... X-Git-Tag: v12~77 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31a7034d38fd7550699e6fbd002bbe42d9ea3b7e;p=systemd log: downgrade syslog connection failure message since it might happen during normal operation --- diff --git a/src/log.c b/src/log.c index 575ed51d..cc636a2d 100644 --- a/src/log.c +++ b/src/log.c @@ -96,7 +96,7 @@ static int log_open_kmsg(void) { return 0; if ((kmsg_fd = open("/dev/kmsg", O_WRONLY|O_NOCTTY|O_CLOEXEC)) < 0) { - log_info("Failed to open /dev/kmsg for logging: %s", strerror(errno)); + log_error("Failed to open /dev/kmsg for logging: %s", strerror(errno)); return -errno; } @@ -177,7 +177,7 @@ static int log_open_syslog(void) { fail: log_close_syslog(); - log_info("Failed to open syslog for logging: %s", strerror(-r)); + log_debug("Failed to open syslog for logging: %s", strerror(-r)); return r; }