Fix the comment from 10MB to 20MB
This commit is contained in:
parent
6750c291db
commit
0256d3b2a2
1 changed files with 2 additions and 2 deletions
|
|
@ -118,10 +118,10 @@ def setup_logger():
|
|||
|
||||
# Add file logging
|
||||
_ = logger.add(
|
||||
"/var/log/tabbyapi/{time}.log", # This will create the file in the project root
|
||||
"/var/log/tabbyapi/{time}.log",
|
||||
level=LOG_LEVEL,
|
||||
format="{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {message}",
|
||||
rotation="20 MB", # Rotate file when it reaches 10MB
|
||||
rotation="20 MB", # Rotate file when it reaches 20MB
|
||||
retention="1 week", # Keep logs for 1 week
|
||||
compression="zip", # Compress rotated logs
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue