mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-22 02:41:28 +00:00
Fix log suggestions filter
This commit is contained in:
parent
9726a0f784
commit
1d71bfda57
|
@ -9,7 +9,7 @@ import sys
|
|||
def main():
|
||||
logger.remove()
|
||||
logger.add(sink=sys.stderr, level=logger_default_level)
|
||||
logger.add(sink='suggestions.log', level='INFO', filter='src.listener_context:scan_context_thread')
|
||||
logger.add(sink='suggestions.log', level='INFO', filter='src.listener_context')
|
||||
|
||||
listener_mention.run_scan_notif() # Слушаем упоминания в фоне
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in a new issue