|
|
@@ -212,7 +212,7 @@ LOGGING = {
|
|
|
'when': 'midnight',
|
|
|
'backupCount': 30,
|
|
|
'encoding': 'utf-8',
|
|
|
- 'formatter': 'verbose'
|
|
|
+ 'formatter': 'detail'
|
|
|
}
|
|
|
},
|
|
|
'loggers': {
|
|
|
@@ -251,6 +251,10 @@ LOGGING = {
|
|
|
'format': '{asctime} - {levelname} - {name} - {message}',
|
|
|
'style': '{',
|
|
|
},
|
|
|
+ 'detail': {
|
|
|
+ "format": '%(asctime)s %(name)s %(pathname)s:%(lineno)d %(module)s:%(funcName)s %(levelname)s- %(message)s',
|
|
|
+ "datefmt": "%Y-%m-%d %H:%M:%S"
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
|