Skip to content

Commit

Permalink
Change API access log backup count
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-maan committed Nov 22, 2024
1 parent 8824769 commit d8758c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'api-access.log',
when='midnight',
interval=1,
backupCount=7
backupCount=31
)
fh.setLevel(logging.INFO)
fh.setFormatter(logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s'))
Expand Down

0 comments on commit d8758c4

Please sign in to comment.