aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/osmo_nitb.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-05-22 20:16:03 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-29 00:18:43 +0200
commit943c81d8785b10c533fd04e5fbb7340166b2466c (patch)
tree806c58117d4a924a003a177618beb755db56c27f /src/osmo_gsm_tester/osmo_nitb.py
parent6d8e485a2b5a6b59896880def0c33615f79a6a39 (diff)
debug: config logging before templates: use pprint and an all-caps label
Diffstat (limited to 'src/osmo_gsm_tester/osmo_nitb.py')
-rw-r--r--src/osmo_gsm_tester/osmo_nitb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/osmo_nitb.py b/src/osmo_gsm_tester/osmo_nitb.py
index 2515354..50ce5ae 100644
--- a/src/osmo_gsm_tester/osmo_nitb.py
+++ b/src/osmo_gsm_tester/osmo_nitb.py
@@ -19,6 +19,7 @@
import os
import re
+import pprint
from . import log, util, config, template, process, osmo_ctrl, pcap_recorder
@@ -76,7 +77,7 @@ class OsmoNitb(log.Origin):
bts_list.append(bts.conf_for_nitb())
config.overlay(values, dict(nitb=dict(net=dict(bts_list=bts_list))))
- self.dbg(conf=values)
+ self.dbg('NITB CONFIG:\n' + pprint.pformat(values))
with open(self.config_file, 'w') as f:
r = template.render('osmo-nitb.cfg', values)