forked from DevsExpo/AccountGenBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloggers.py
More file actions
24 lines (23 loc) · 701 Bytes
/
loggers.py
File metadata and controls
24 lines (23 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
import sys
from distutils.util import strtobool as sb
from logging import DEBUG, INFO, basicConfig, getLogger
from distutils.util import strtobool as sb
from logging import DEBUG, WARNING, basicConfig, getLogger, INFO
from logging.handlers import RotatingFileHandler
from pathlib import Path
from sys import argv
from telethon import TelegramClient, events, functions, types
import asyncio
import glob
import logging
import sys
from pathlib import Path
import telethon.utils
from telethon import TelegramClient
from Configs import Config
basicConfig(
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
level=DEBUG,
)
logger = getLogger(__name__)