🔧(back) add docs.security to logging settings

In the malware_detection callback we are using a different logger named
docs.security. We want to configure a logger in the logging settings
handling it.
This commit is contained in:
Manuel Raynaud
2025-05-22 10:58:09 +02:00
committed by Anthony LC
parent 41631b5b70
commit 99ba414d88

View File

@@ -679,6 +679,15 @@ class Base(Configuration):
),
"propagate": False,
},
"docs.security": {
"handlers": ["console"],
"level": values.Value(
"INFO",
environ_name="LOGGING_LEVEL_LOGGERS_SECURITY",
environ_prefix=None,
),
"propagate": False,
},
},
}