🔧(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:
committed by
Anthony LC
parent
41631b5b70
commit
99ba414d88
@@ -679,6 +679,15 @@ class Base(Configuration):
|
|||||||
),
|
),
|
||||||
"propagate": False,
|
"propagate": False,
|
||||||
},
|
},
|
||||||
|
"docs.security": {
|
||||||
|
"handlers": ["console"],
|
||||||
|
"level": values.Value(
|
||||||
|
"INFO",
|
||||||
|
environ_name="LOGGING_LEVEL_LOGGERS_SECURITY",
|
||||||
|
environ_prefix=None,
|
||||||
|
),
|
||||||
|
"propagate": False,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user