2026-02-16
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#
|
||||
# ##### END GPL LICENSE BLOCK #####
|
||||
|
||||
from logging import INFO, WARN
|
||||
from logging import DEBUG, INFO, WARN
|
||||
from os import environ
|
||||
from subprocess import Popen
|
||||
from typing import Any, Optional
|
||||
@@ -59,6 +59,11 @@ BKIT_AUTHORS: dict[int, datas.UserProfile] = {}
|
||||
"""All loaded profiles of other users. Current user is also present in stripped down version. Key is the UserProfile.id."""
|
||||
|
||||
LOGGING_LEVEL_BLENDERKIT = INFO
|
||||
|
||||
# read special DEBUG env var to set logging level to DEBUG
|
||||
if environ.get("BLENDERKIT_DEBUG", "0") == "1":
|
||||
LOGGING_LEVEL_BLENDERKIT = DEBUG
|
||||
|
||||
LOGGING_LEVEL_IMPORTED = WARN
|
||||
PREFS = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user