Skip to content

Commit

Permalink
fix log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Nov 19, 2024
1 parent 96da8f9 commit 4dbca03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.example.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion voctopublish/voctopublish.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)

Expand Down

0 comments on commit 4dbca03

Please sign in to comment.