aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tx_power/tx_power_test.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-09 16:10:06 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-09 16:10:09 +0200
commit0e0eeb0e40f9800a815eedd0363ed0a829905e74 (patch)
tree8ee7aab86982d406f7fe38302d2aa33c11a0b3ea /tests/tx_power/tx_power_test.c
parentd39a3a3899ff7fb1a6a92ad92da29bec9886a68f (diff)
tx_power_test: Disable using color in log output
It's really not used and only adds unneeded variabilities to output. This patch is a cherry-pick from master's 7bda77928c0e08d4b1ab1efe3e1284fa372779ea, which allows last release of osmo-bts to work with fixed libosmocore (libosmocore.git Ie38cc639d7f4acd908f357e5bfb3ced07147583e). Change-Id: I45cce47f9248c222707f0ed5a4349b0308ad891f
Diffstat (limited to 'tests/tx_power/tx_power_test.c')
-rw-r--r--tests/tx_power/tx_power_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tx_power/tx_power_test.c b/tests/tx_power/tx_power_test.c
index 34fbeb76..d77c2e1d 100644
--- a/tests/tx_power/tx_power_test.c
+++ b/tests/tx_power/tx_power_test.c
@@ -214,6 +214,7 @@ int main(int argc, char **argv)
osmo_init_logging2(tall_bts_ctx, &bts_log_info);
osmo_stderr_target->categories[DL1C].loglevel = LOGL_DEBUG;
log_set_print_filename(osmo_stderr_target, 0);
+ log_set_use_color(osmo_stderr_target, 0);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (!bts) {