mirror of
https://github.com/civsocit/olgram.git
synced 2025-12-15 08:16:17 +00:00
logging
This commit is contained in:
@@ -13,8 +13,8 @@ from olgram.settings import ServerSettings
|
||||
from olgram.models.models import Bot, GroupChat, BannedUser
|
||||
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
_logger = logging.getLogger(__name__)
|
||||
_logger.setLevel(logging.INFO)
|
||||
|
||||
db_bot_instance: ContextVar[Bot] = ContextVar('db_bot_instance')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user