diff --git a/app.py b/app.py index 0b052dd..95fad21 100644 --- a/app.py +++ b/app.py @@ -26,6 +26,7 @@ logging.basicConfig( ) logging.getLogger("urllib3.connectionpool").setLevel(logging.ERROR) logger = logging.getLogger(__name__) +logger.setLevel(os.environ.get('NICONICOGAY_LOG', 'INFO').upper()) app = Flask(__name__) HOST = os.environ.get('NICONICOGAY_HOST', 'https://nicovideo.gay')