Set logging level to INFO

This commit is contained in:
Ske 2018-07-25 11:56:37 +02:00
parent d81dadefa4
commit a6708cb788

View File

@ -1,9 +1,8 @@
import asyncio import asyncio
from datetime import datetime
import logging
import json import json
import os import logging
import time import time
from datetime import datetime
import discord import discord
@ -11,7 +10,7 @@ from pluralkit import db, stats
from pluralkit.bot import channel_logger, commands, proxy from pluralkit.bot import channel_logger, commands, proxy
logging.basicConfig(level=logging.INFO, format="[%(asctime)s] [%(name)s] [%(levelname)s] %(message)s") logging.basicConfig(level=logging.INFO, format="[%(asctime)s] [%(name)s] [%(levelname)s] %(message)s")
logging.getLogger("pluralkit").setLevel(logging.DEBUG) # logging.getLogger("pluralkit").setLevel(logging.DEBUG)
class PluralKitBot: class PluralKitBot:
def __init__(self, token): def __init__(self, token):