mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
OPENPYPE_DEBUG can be set to 1 to log debug messages
This commit is contained in:
parent
8589769863
commit
cbb7db98f7
2 changed files with 8 additions and 8 deletions
|
|
@ -227,7 +227,7 @@ class PypeLogger:
|
|||
|
||||
logger = logging.getLogger(name or "__main__")
|
||||
|
||||
if cls.pype_debug > 1:
|
||||
if cls.pype_debug > 0:
|
||||
logger.setLevel(logging.DEBUG)
|
||||
else:
|
||||
logger.setLevel(logging.INFO)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue