Commit 57df37b7 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

logging

parent 6250a895
......@@ -118,7 +118,29 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"formatters": {
"verbose": {
"format": "%(asctime)s-15s %(name)-32s [%(levelname)-8s] (%(module)-17s) %(message)s"
}
},
"handlers": {
"console": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "verbose",
}
},
"loggers": {
"frozenapp.eodags1": {
"handlers": ["console"],
"propagate": True,
"level": "DEBUG",
},
},
}
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment