diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-12 14:22:59 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-12 14:24:39 +0100 |
commit | 9adf32fb60206065026e9c3ef7088ef6bcc013be (patch) | |
tree | 6de382490b2f95b5826b25d649e1872b47afd5cc /tests | |
parent | 3cc757df1822114bf446dc2d5f6a95da92321a25 (diff) |
logging test: cosmetic: print target and don't print color
Prepares for upcoming modifications of the logging test to show and fix bugs in
the logging system.
Change-Id: I9461b987adf85d87469a6af55de5f1aa478f6ebb
Diffstat (limited to 'tests')
-rw-r--r-- | tests/logging/logging_test.c | 2 | ||||
-rw-r--r-- | tests/logging/logging_test.err | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/logging/logging_test.c b/tests/logging/logging_test.c index 3d1b7d87..91b0aaf5 100644 --- a/tests/logging/logging_test.c +++ b/tests/logging/logging_test.c @@ -75,6 +75,8 @@ int main(int argc, char **argv) log_add_target(stderr_target); log_set_all_filter(stderr_target, 1); log_set_print_filename(stderr_target, 0); + log_set_print_category(stderr_target, 1); + log_set_use_color(stderr_target, 0); log_parse_category_mask(stderr_target, "DRLL:DCC"); log_parse_category_mask(stderr_target, "DRLL"); diff --git a/tests/logging/logging_test.err b/tests/logging/logging_test.err index 4891491b..4a350fa9 100644 --- a/tests/logging/logging_test.err +++ b/tests/logging/logging_test.err @@ -1,4 +1,3 @@ -[1;31mYou should see this -[0;m[1;32mYou should see this -[0;m[1;31mYou should see this -[0;m
\ No newline at end of file +DRLL You should see this +DCC You should see this +DRLL You should see this |