日志增加function名称

dependabot/npm_and_yarn/fir_admin/terser-4.8.1
isummer 2 years ago
parent c8f02465d0
commit 93c13fa776
  1. 4
      fir_ser/fir_ser/settings.py

@ -318,11 +318,11 @@ LOGGING = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '[%(asctime)s][%(threadName)s:%(thread)d][task_id:%(name)s][%(filename)s:%(lineno)d]'
'format': '[%(asctime)s][%(threadName)s:%(thread)d][task_id:%(name)s][%(filename)s:%(funcName)s:%(lineno)d]'
'[%(levelname)s][%(message)s]'
},
'simple': {
'format': '[%(levelname)s][%(asctime)s][%(filename)s:%(lineno)d]%(message)s'
'format': '[%(levelname)s][%(asctime)s][%(filename)s:%(funcName)s:%(lineno)d]%(message)s'
},
},
'filters': {

Loading…
Cancel
Save