mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
add lumberjack log rotation (#5696)
* [logging] add UI and graphql for maximum log size * [logger] set default size to 0MB and don't rotate
This commit is contained in:
@@ -155,6 +155,8 @@ input ConfigGeneralInput {
|
||||
logLevel: String
|
||||
"Whether to log http access"
|
||||
logAccess: Boolean
|
||||
"Maximum log size"
|
||||
logFileMaxSize: Int
|
||||
"True if galleries should be created from folders with images"
|
||||
createGalleriesFromFolders: Boolean
|
||||
"Regex used to identify images as gallery covers"
|
||||
@@ -279,6 +281,8 @@ type ConfigGeneralResult {
|
||||
logLevel: String!
|
||||
"Whether to log http access"
|
||||
logAccess: Boolean!
|
||||
"Maximum log size"
|
||||
logFileMaxSize: Int!
|
||||
"Array of video file extensions"
|
||||
videoExtensions: [String!]!
|
||||
"Array of image file extensions"
|
||||
|
||||
Reference in New Issue
Block a user