mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
fix: ensure logger propagation is disabled for the main logger
This commit is contained in:
@@ -7,6 +7,7 @@ from logger.formatter import Formatter
|
||||
# Set up logger
|
||||
log = logging.getLogger("romm")
|
||||
log.setLevel(LOGLEVEL)
|
||||
log.propagate = False
|
||||
|
||||
# Define stdout handler
|
||||
stdout_handler = logging.StreamHandler(sys.stdout)
|
||||
|
||||
Reference in New Issue
Block a user