diff --git a/config.example.toml b/config.example.toml index 17f6f93..5818484 100644 --- a/config.example.toml +++ b/config.example.toml @@ -1,4 +1,5 @@ [general] +# must be one of "error", "warning", "info" or "debug" debug = "info" # worker_type must be one of "releasing" or "recording" diff --git a/voctopublish/voctopublish.py b/voctopublish/voctopublish.py index cb58283..e8ffb8a 100755 --- a/voctopublish/voctopublish.py +++ b/voctopublish/voctopublish.py @@ -69,7 +69,7 @@ logging.addLevelName(logging.DEBUG, "\033[1;85mDEBUG\033[1;0m") logging.basicConfig( - level=CONFIG["general"]["debug"], + level=CONFIG["general"]["debug"].upper(), format="%(asctime)s - %(name)s - %(levelname)s {%(filename)s:%(lineno)d} %(message)s", )