debug: config logging before templates: use pprint and an all-caps label
Change-Id: I0e1c1d3ce8163d5b40c17b7d0fb0847a068ced76
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 @@
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)