diff options
author | Unknwon <u@gogs.io> | 2017-03-23 18:34:25 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-23 18:34:25 -0400 |
commit | 8a3f4fc616086af121ab0c79aa3a24d30703acc9 (patch) | |
tree | c8424182196f8c3ffda81897e6e94d045cb79bde /conf | |
parent | 66c1e6b0e8308068dbddaec03585f388875f4192 (diff) |
models: add config options for XORM logger (#3183)
Added new config section '[log.xorm]'.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 5ca07b95..fa28245e 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -348,6 +348,16 @@ LEVEL = ; Webhook URL URL = +[log.xorm] +; Enable file rotation +ROTATE = true +; Rotate every day +ROTATE_DAILY = true +; Rotate once file size excesses x MB +MAX_SIZE = 100 +; Maximum days to keep logger files +MAX_DAYS = 3 + [cron] ; Enable running cron tasks periodically. ENABLED = true |