Skip to content

Commit

Permalink
chg: change logging defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
righel committed Jan 16, 2025
1 parent faa0804 commit 773096a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ dmypy.json
config.json

# logs
logs/*.log
logs/*
10 changes: 5 additions & 5 deletions src/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: simple
formatter: verbose
stream: ext://sys.stdout
file:
class: logging.handlers.TimedRotatingFileHandler
level: DEBUG
formatter: verbose
level: INFO
formatter: simple
when: D
backupCount: 0
backupCount: 5
filename: ./logs/misp-guard.log
loggers:
root:
level: DEBUG
handlers: [console]
handlers: [console, file]

0 comments on commit 773096a

Please sign in to comment.