Change log level

This commit is contained in:
elpatron68 2019-07-28 11:51:09 +02:00
parent 0da6f2d263
commit 03c3219996

View File

@ -389,7 +389,7 @@ class MumbleBot:
msg += '</table>'
# Shorten table if message too long
if len(msg) < 5000:
logging.info('Result too long stage I')
logging.debug('Result too long stage I')
msg = var.config.get('strings', 'rbqueryresult') + " :" + ' (shortened L1)'
msg += '\n<table><tr><th>!rbplay ID</th><th>Station Name</th></tr>'
for s in rb_stations:
@ -399,7 +399,7 @@ class MumbleBot:
if len(msg) < 5000:
self.send_msg(msg, text)
else:
logging.info('Result too long stage II')
logging.debug('Result too long stage II')
msg = var.config.get('strings', 'rbqueryresult') + " :" + ' (shortened L2)'
msg += '!rbplay ID - Station Name'
for s in rb_stations: