Skip to content

Commit

Permalink
feat: disable debug log output by default
Browse files Browse the repository at this point in the history
  • Loading branch information
saturday06 committed Jun 6, 2024
1 parent caae7fe commit f294196
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/io_scene_vrm/common/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ def get_logger(name: str) -> LoggerAdapter:
logger = standard_logging.getLogger(name)
if environ.get("BLENDER_VRM_LOGGING_LEVEL_DEBUG") == "yes":
logger.setLevel(standard_logging.DEBUG)
else:
logger.setLevel(max(standard_logging.INFO, logger.getEffectiveLevel()))
return VrmAddonLoggerAdapter(logger, {})

0 comments on commit f294196

Please sign in to comment.