diff options
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/conf/app.ini b/conf/app.ini index e42fc24432..debfcf93bd 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -47,20 +47,20 @@ BUFFER_LEN = 10000 ; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace" LEVEL = Trace -; For "console" mode only, all log files will be stored in "/log" directory +; For "console" mode only [log.console] LEVEL = ; For "file" mode only [log.file] LEVEL = -FILE_NAME = "gogs.log" +FILE_NAME = log/gogs.log ; This enables automated log rotate(switch of following options), default is true -LOG_ROTATE = +LOG_ROTATE = true ; Max line number of single file, default is 1000000 MAX_LINES = 1000000 -; Max size of single file, default is 1 << 28, 256MB -MAX_SIZE = 1 << 28 +; Max size shift of single file, default is 28 means 1 << 28, 256MB +MAX_SIZE_SHIFT = 28 ; Segment log daily, default is true DAILY_ROTATE = true ; Expired days of log file(delete after max days), default is 7 @@ -88,5 +88,5 @@ HOST = ; Mailer user name and password USER = PASSWD = -; Receivers, can be one or more +; Receivers, can be one or more, e.g. ["1@example.com","2@example.com"] RECEIVERS =
\ No newline at end of file |