Skip to content

Commit 134c5c4

Browse files
committed
TASK: Change standard loglevel to INFO
1 parent 9661825 commit 134c5c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
logfile_handler = logging.handlers.WatchedFileHandler(logfile_path, 'a', 'utf-8')
3333

3434
logger = logging.getLogger(__name__)
35-
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.DEBUG, handlers=[logfile_handler])
35+
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO, handlers=[logfile_handler])
3636

3737
if not re.match("[0-9]+:[a-zA-Z0-9\-_]+", BOT_TOKEN):
3838
logging.error("Bot token not correct - please check.")

0 commit comments

Comments
 (0)