Add file log offlineTTSBot.log, rotation 5MB

This commit is contained in:
norohind committed 2022-03-16 17:10:39 +03:00
1 parent d89c98fea5
commit ecb240db34
1 file changed
+2
+2
View File
@@ -9,6 +9,8 @@ from DynamicCommandPrefix import dynamic_command_prefix
import Observ
logger.add('offlineTTSBot.log', backtrace=True, diagnose=False, rotation='5MB')
"""
while msg := input('$ '):
start = time.time()