aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-11-12 21:34:34 +0100
committerHarald Welte <laforge@osmocom.org>2021-11-12 21:34:34 +0100
commit5e0dfdcfe4f30335348d3ea8cc1c29719fcc823a (patch)
tree9e2b1c77735f778c8ea5393db1e737932f964dbd
parent74fa8ba7a50c568ae42d49e2aac11ff842f67724 (diff)
make compile-time default logging configuration less verbose
As Keith pointed out we shouldn't spam the stderr with debug level logging by default. Change-Id: I909affb3b798c13950f95628275a6ec3a38c76ca
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index c50efe5..e2b90dc 100644
--- a/src/log.c
+++ b/src/log.c
@@ -30,12 +30,12 @@
static const struct log_info_cat default_categories[] = {
[DE1D] = {
.name = "DE1D",
- .loglevel = LOGL_DEBUG,
+ .loglevel = LOGL_INFO,
.enabled = 1,
},
[DXFR] = {
.name = "DXFR",
- .loglevel = LOGL_DEBUG,
+ .loglevel = LOGL_NOTICE,
.enabled = 1,
},
};