From bcd7d411fe44426754c11769c729e205eaf4a872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Dachary?= Date: Mon, 27 Feb 2023 01:37:39 +0100 Subject: [PATCH] logging-documentation.md: remove URLs to 1.17.3 --- admin/logging-documentation.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/logging-documentation.md b/admin/logging-documentation.md index 6502fa4f..e0ecb114 100644 --- a/admin/logging-documentation.md +++ b/admin/logging-documentation.md @@ -37,7 +37,7 @@ Lists are specified as comma separated values. This format also works in subsect This section may be used for defining default values for subsections. Examples: -- `LEVEL`: (Default: **Info**) Least severe log events to persist. Case insensitive. The full list of levels as of v1.17.3 can be read [here](https://github.com/go-gitea/gitea/blob/v1.17.3/custom/conf/app.example.ini#L507). +- `LEVEL`: (Default: **Info**) Least severe log events to persist. Case insensitive. The full list of levels can be read in [app.example.ini](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/custom/conf/app.example.ini). - `STACKTRACE_LEVEL`: (Default: **None**) For this and more severe events the stacktrace will be printed upon getting logged. Some values are not inherited by subsections. For details see the "Non-inherited default values" section. @@ -143,7 +143,6 @@ If unset, their own default will be used. If set it will be relative to the provided `ROOT_PATH` in the master `[log]` section. `MAX_SIZE_SHIFT` defines the maximum size of a file by left shifting 1 the given number of times (`1 << x`). -The exact behavior at the time of v1.17.3 can be seen [here](https://github.com/go-gitea/gitea/blob/v1.17.3/modules/setting/log.go#L185). The useful values of `COMPRESSION_LEVEL` are from 1 to (and including) 9, where higher numbers mean better compression. Beware that better compression might come with higher resource usage.