# 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>
27 lines
684 B
JSON
27 lines
684 B
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Data source=kavita.db"
|
|
},
|
|
"TokenKey": "super secret unguessable key",
|
|
"StatsOptions": {
|
|
"ServerUrl": "http://localhost:5002",
|
|
"ServerSecret": "here's where the api key goes",
|
|
"SendDataAt": "23:50"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Debug",
|
|
"Microsoft": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Error",
|
|
"Hangfire": "Information",
|
|
"Microsoft.AspNetCore.Hosting.Internal.WebHost": "Information"
|
|
},
|
|
"File": {
|
|
"Path": "logs/kavita.log",
|
|
"Append": "True",
|
|
"FileSizeLimitBytes": 10485760,
|
|
"MaxRollingFiles": 5
|
|
}
|
|
},
|
|
"Port": 5000
|
|
}
|