diff --git a/pterodactyl/logger.py b/pterodactyl/logger.py index ef33dd8..3590b4f 100644 --- a/pterodactyl/logger.py +++ b/pterodactyl/logger.py @@ -1,10 +1,9 @@ -import logging - +from red_commons 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) +if logger.level >= logging.VERBOSE: + websocket_logger.setLevel(logging.logging.INFO) +elif logger.level < logging.VERBOSE: + websocket_logger.setLevel(logging.logging.DEBUG)