1
0
forked from sass/tipibot

Rename logger to include bot profiles

This commit is contained in:
Rene Arumetsa
2026-05-20 17:48:44 +03:00
parent b83b347d6a
commit 48cc8398ec

2
bot.py
View File

@@ -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