mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-28 10:32:34 -04:00
Refactored logs to use a logs/ folder and also roll over after 10MB. … (#448)
# Changed - Changed: Log files now roll (kavita, kavita1, etc) up to 5 files, each with a max of 10MB each. After all 5 files fill up, they will roll over. (Closes #446 ) ============================= * Refactored logs to use a logs/ folder and also roll over after 10MB. A maximum of 5 logs will persist (50MB of log data). * Updated entrypoint to accommodate rolling logs Co-authored-by: Chris Plaatjes <kizaing@gmail.com>
This commit is contained in:
@@ -17,10 +17,10 @@
|
||||
"Microsoft.AspNetCore.Hosting.Internal.WebHost": "Information"
|
||||
},
|
||||
"File": {
|
||||
"Path": "kavita.log",
|
||||
"Path": "logs/kavita.log",
|
||||
"Append": "True",
|
||||
"FileSizeLimitBytes": 0,
|
||||
"MaxRollingFiles": 0
|
||||
"FileSizeLimitBytes": 10485760,
|
||||
"MaxRollingFiles": 5
|
||||
}
|
||||
},
|
||||
"Port": 5000
|
||||
|
||||
Reference in New Issue
Block a user