mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
use coloredlogs
This commit is contained in:
parent
2e23a1bf19
commit
4caafc7e7b
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ import sys
|
|||
import time
|
||||
|
||||
import boto3
|
||||
import coloredlogs
|
||||
import watchtower
|
||||
|
||||
from app.config import (
|
||||
|
@ -65,6 +66,8 @@ def _get_logger(name):
|
|||
# no propagation to avoid propagating to root logger
|
||||
logger.propagate = False
|
||||
|
||||
coloredlogs.install(level="DEBUG", logger=logger)
|
||||
|
||||
return logger
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue