From d298e315c00f57d1f02a5d90c6d1afcbb3c4a633 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:47:13 +0700 Subject: [PATCH] [check] some changes --- program/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/program/__init__.py b/program/__init__.py index 220da6e..c062b61 100644 --- a/program/__init__.py +++ b/program/__init__.py @@ -4,8 +4,12 @@ __version__ = "0.6.5" import time import logging +from driver.core import me_bot + +id = me_bot.id + logging.basicConfig( - filename='bot.logs', + filename=f'streambot-logs-{id}.txt', level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' )