Skip to content
Snippets Groups Projects
Commit 632b345c authored by Nico Vermaas's avatar Nico Vermaas
Browse files

get rid of file_handler for logging (atdb.log)

parent 1ae700c5
No related branches found
No related tags found
1 merge request!296SDC 971 handle moved inspectionplots
Pipeline #49534 passed
...@@ -156,17 +156,12 @@ LOGGING = { ...@@ -156,17 +156,12 @@ LOGGING = {
'class': 'logging.StreamHandler', 'class': 'logging.StreamHandler',
'formatter': 'my_formatter', 'formatter': 'my_formatter',
}, },
'my_file_handler': {
'level': 'INFO',
'class': 'logging.FileHandler',
'formatter': 'my_formatter',
'filename': 'logs/atdb.log'
},
}, },
'loggers': { 'loggers': {
'taskdatabase': { 'taskdatabase': {
#'handlers': ['my_handler','mail_admins'], #'handlers': ['my_handler','mail_admins'],
'handlers': ['my_handler', 'my_file_handler'], 'handlers': ['my_handler'],
'level': 'INFO', 'level': 'INFO',
}, },
'django': { 'django': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment