Tweak logger
This commit is contained in:
parent
18d5c3bc26
commit
6b670c74cf
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ logger_format = (
|
|||
"<cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> | "
|
||||
"{extra[request_id]} - <level>{message}</level>"
|
||||
)
|
||||
logger.add(sys.stdout, format=logger_format)
|
||||
logger.add(sys.stdout, format=logger_format, level="DEBUG" if DEBUG else "INFO")
|
||||
|
||||
|
||||
class ActivityPubResponse(JSONResponse):
|
||||
|
|
Loading…
Reference in a new issue