forked from sass/tipibot
Rename logger to include bot profiles
This commit is contained in:
2
bot.py
2
bot.py
@@ -82,7 +82,7 @@ _txn_logger = logging.getLogger("tipiCOIN.txn")
|
||||
_txn_logger.addHandler(_txn_h)
|
||||
_txn_logger.propagate = False # don't double-log to console/bot.log
|
||||
|
||||
log = logging.getLogger("tipilan")
|
||||
log = logging.getLogger(f"tipilan.{config.BOT_PROFILE}")
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Bot setup
|
||||
|
||||
Reference in New Issue
Block a user