Logging configuration override could use improvements #27
-
I noticed that overriding the logging configuration fails in two cases. Basically, I have added an I am running the Docker image like this:
a) specifying the configuration module with the dotted-path notation (like
b) Duplicating
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thank you for your report. A few suggestions that may help:
|
Beta Was this translation helpful? Give feedback.
Thank you for your report. A few suggestions that may help:
app.core.logging_conf
. This path does not appear to exist. Have you triedapp.logging_conf
?/
) for the file path in your second example, to ensure the path is correct when running with Docker:LOGGING_CONF=/app/app/logging_conf.py
."class": "app.my_logger.MyFormatter"
, try"()": "app.my_logger.MyFormatter"
.