summaryrefslogtreecommitdiff
path: root/src/logger.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-07 17:57:54 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-07 17:57:54 +0200
commit54165a39391980defef3bf3356041aac960f64af (patch)
tree53f92f1e4c345ebf97cc51e384bcfd790b0d2467 /src/logger.c
parente015090f32dc35360637c5d8f2920654615b2439 (diff)
log: bump up a number of log messages so that they are shown even if debug logging is disabled, for diagnostic purposes
Diffstat (limited to 'src/logger.c')
-rw-r--r--src/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.c b/src/logger.c
index cc394df55c..d4d964d1bb 100644
--- a/src/logger.c
+++ b/src/logger.c
@@ -473,7 +473,7 @@ static int server_init(Server *s, unsigned n_sockets) {
/* /dev/kmsg logging is strictly optional */
if ((s->kmsg_fd = open("/dev/kmsg", O_WRONLY|O_NOCTTY|O_CLOEXEC)) < 0)
- log_debug("Failed to open /dev/kmsg for logging, disabling kernel log buffer support: %s", strerror(errno));
+ log_warning("Failed to open /dev/kmsg for logging, disabling kernel log buffer support: %s", strerror(errno));
return 0;