Explorar el Código

web: make log level configurable through env

Shiv Tyagi hace 1 año
padre
commit
0dfcf2e93b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/app.py

+ 1 - 1
web/app.py

@@ -30,7 +30,7 @@ dictConfig({
         'formatter': 'default'
     }},
     'root': {
-        'level': 'INFO',
+        'level': os.getenv('CBS_LOG_LEVEL', default='INFO'),
         'handlers': ['wsgi']
     }
 })