forked from blizzthewolf/SeaCogs
10 lines
325 B
Python
10 lines
325 B
Python
import logging
|
|
|
|
from red_commons.logging import getLogger
|
|
|
|
logger = getLogger('red.seacogs.pterodactyl')
|
|
websocket_logger = getLogger('red.seacogs.pterodactyl.websocket')
|
|
if logger.level == logging.DEBUG:
|
|
websocket_logger.setLevel(logging.INFO)
|
|
elif logger.level < logging.DEBUG:
|
|
websocket_logger.setLevel(logging.DEBUG)
|