output size of important objects

debug
Simon 3 years ago
parent c1b68fb555
commit 1eeb6441cb

@ -120,6 +120,9 @@ def config_reports(_config, _factory):
i = i +1 i = i +1
logger.info('(REPORT) %s systems have at least one peer',i) logger.info('(REPORT) %s systems have at least one peer',i)
logger.info('(REPORT) Subscriber Map has %s entries',len(SUB_MAP)) logger.info('(REPORT) Subscriber Map has %s entries',len(SUB_MAP))
logger.info('(DEBUG REPORT) CONFIG has size %s',sys.getsizeof(CONFIG))
logger.info('(DEBUG REPORT) BRIDGES has size %s',sys.getsizeof(BRIDGES))
logger.info('(REPORT) HBlink TCP reporting server configured') logger.info('(REPORT) HBlink TCP reporting server configured')

Loading…
Cancel
Save

Powered by TurnKey Linux.