From 93c13fa7764d7e943b9aec5b458e24680fcf0c95 Mon Sep 17 00:00:00 2001 From: isummer Date: Tue, 5 Jul 2022 22:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=A2=9E=E5=8A=A0function?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/fir_ser/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fir_ser/fir_ser/settings.py b/fir_ser/fir_ser/settings.py index cc534aa..1dc93f8 100644 --- a/fir_ser/fir_ser/settings.py +++ b/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': {