aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-18 18:56:33 +0100
committerPau Espin Pedrol <pespin@espeweb.net>2021-02-23 12:05:03 +0100
commit7944a70a70e1b3da24e213f92fdd2282c97f7967 (patch)
treeaba7e80ec46b5162f9f6a3e07871b1666f8f8821
parentfcbf3470b963e3f0a1dd031f9aa3450e46036a9a (diff)
logging: Enable category name instead of hex val by defaultpespin/log-category
-rw-r--r--src/logging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index c2a0453f..4b873270 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -939,7 +939,8 @@ struct log_target *log_target_create(void)
target->print_timestamp = 0;
target->print_tid = 0;
target->print_filename2 = LOG_FILENAME_PATH;
- target->print_category_hex = true;
+ target->print_category_hex = false;
+ target->print_category = true;
/* global log level */
target->loglevel = 0;