summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'schemas')
-rw-r--r--schemas/config/2.0.schema.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index 344f77a4..9a444c7d 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -168,6 +168,32 @@
}
}
}
+ },
+ "file_logger_options": {
+ "description": "file logger options",
+ "type": "object",
+ "properties": {
+ "log_output": {
+ "type": "string",
+ "description": "path to the file"
+ },
+ "max_size": {
+ "type": "integer",
+ "description": "maximum file size in MB"
+ },
+ "max_age": {
+ "type": "integer",
+ "description": "The maximum number of days to retain old log files based on the timestamp encoded in their filename"
+ },
+ "max_backups" : {
+ "type": "integer",
+ "description": "The maximum number of old log files to retain"
+ },
+ "compress" : {
+ "type": "boolean",
+ "description": "compress files to save a disk space"
+ }
+ }
}
}
},