mirror of
https://git.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-24 17:40:56 +01:00
Added separate log suggestions
This commit is contained in:
parent
27b51fcd3f
commit
d098506a32
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,5 +2,6 @@
|
|||
.auth
|
||||
.auth_kinopoisk
|
||||
.app_sessions
|
||||
*.log
|
||||
*.sqlite
|
||||
|
||||
|
|
|
@ -9,6 +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')
|
||||
|
||||
listener_mention.run_scan_notif() # Слушаем упоминания в фоне
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user