summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-07 22:43:17 -0500
committerLennart Poettering <lennart@poettering.net>2010-11-10 22:38:43 +0100
commit31a7034d38fd7550699e6fbd002bbe42d9ea3b7e (patch)
tree48f1ceb4bd681310f71f15b828e122dfe628e9aa /src/log.c
parent2edfa36685588a5e224d1f86b3fcc16c46766fea (diff)
log: downgrade syslog connection failure message since it might happen during normal operation
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index 575ed51de1..cc636a2dfa 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;
}