diff options
author | zeripath <art27@cantab.net> | 2019-05-15 22:37:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 22:37:06 +0100 |
commit | 775a5a5b0f4c1a7aa7b301569fe89d7c6e751c46 (patch) | |
tree | e1977f6e20abdd44924d56f15eebdbb6be6fce72 /docs/content/doc/advanced | |
parent | 7dd983797c218d7ae45e67d79517e95ad3dd24b8 (diff) | |
download | gitea-775a5a5b0f4c1a7aa7b301569fe89d7c6e751c46.tar.gz gitea-775a5a5b0f4c1a7aa7b301569fe89d7c6e751c46.zip |
Stop colorizing files by default (#6949)
Diffstat (limited to 'docs/content/doc/advanced')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 3 | ||||
-rw-r--r-- | docs/content/doc/advanced/logging-documentation.en-us.md | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 6b209b97bb..f40d35cdba 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -334,7 +334,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false` ### Console log mode (`log.console`, `log.console.*`, or `MODE=console`) -- For the console logger `COLORIZE` will default to `true` if not on windows. +- For the console logger `COLORIZE` will default to `true` if not on windows or the terminal is determined to be able to color. - `STDERR`: **false**: Use Stderr instead of Stdout. ### File log mode (`log.file`, `log.file.*` or `MODE=file`) @@ -344,7 +344,6 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false` - `MAX_SIZE_SHIFT`: **28**: Maximum size shift of a single file, 28 represents 256Mb. - `DAILY_ROTATE`: **true**: Rotate logs daily. - `MAX_DAYS`: **7**: Delete the log file after n days -- NB: `COLORIZE`: will default to `true` if not on windows. - `COMPRESS`: **true**: Compress old log files by default with gzip - `COMPRESSION_LEVEL`: **-1**: Compression level diff --git a/docs/content/doc/advanced/logging-documentation.en-us.md b/docs/content/doc/advanced/logging-documentation.en-us.md index d9a21affce..df35786943 100644 --- a/docs/content/doc/advanced/logging-documentation.en-us.md +++ b/docs/content/doc/advanced/logging-documentation.en-us.md @@ -213,7 +213,7 @@ from `[log.sublogger]`. a stacktrace. This value is inherited. * `MODE` is the mode of the log output. It will default to the sublogger name. Thus `[log.console.macaron]` will default to `MODE = console`. -* `COLORIZE` will default to `true` for `file` and `console` as +* `COLORIZE` will default to `true` for `console` as described, otherwise it will default to `false`. ### Non-inherited default values @@ -274,7 +274,6 @@ Other values: * `MAX_SIZE_SHIFT`: **28**: Maximum size shift of a single file, 28 represents 256Mb. * `DAILY_ROTATE`: **true**: Rotate logs daily. * `MAX_DAYS`: **7**: Delete the log file after n days -* NB: `COLORIZE`: will default to `true` if not on windows. * `COMPRESS`: **true**: Compress old log files by default with gzip * `COMPRESSION_LEVEL`: **-1**: Compression level |