Skip to content

Commit

Permalink
chore: fix logger proudly broken by zeroday0619
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex4386 committed Feb 10, 2021
1 parent 33208c7 commit 7bc6ecb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/extension/logging/customizeLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ class CustomizeLogger:
def make_logger(cls, config_path=default_config_path):
config = cls.load_logging_config(config_path)
logging_config = config["logger"]

filepath = Path(logging_config["path"])
filepath.joinpath(logging_config['filename'])

_logger = cls.customize_logging(
filepath=logging_config["path"] + logging_config["filename"],
filepath=filepath,
level=logging_config["level"],
retention=logging_config["retention"],
rotation=logging_config["rotation"],
Expand Down

0 comments on commit 7bc6ecb

Please sign in to comment.