mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-09 10:26:39 +00:00
allow any log level (and netlify has been set to LOG_LEVEL=DEBUG)
This commit is contained in:
@@ -11,8 +11,7 @@ import sys
|
||||
import yaml
|
||||
|
||||
|
||||
if os.environ.get("DEBUG") == "1":
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging.basicConfig(level=os.environ.get("LOG_LEVEL", "INFO"))
|
||||
|
||||
|
||||
class InvalidChapter(ValueError):
|
||||
|
||||
Reference in New Issue
Block a user