mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-31 20:58:43 +00:00
Document WOODPECKER_LOG_FILE
(#3022)
Missed from #2115 Also rephrased the description a bit. --------- Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
parent
5671956a31
commit
df73d2c475
3 changed files with 15 additions and 1 deletions
|
@ -34,7 +34,7 @@ var GlobalLoggerFlags = []cli.Flag{
|
|||
&cli.StringFlag{
|
||||
EnvVars: []string{"WOODPECKER_LOG_FILE"},
|
||||
Name: "log-file",
|
||||
Usage: "where logs are written to. 'stdout' and 'stderr' can be used as special keywords",
|
||||
Usage: "Output destination for logs. 'stdout' and 'stderr' can be used as special keywords.",
|
||||
Value: "stderr",
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
|
|
|
@ -189,6 +189,13 @@ The following list describes all available server configuration options.
|
|||
|
||||
Configures the logging level. Possible values are `trace`, `debug`, `info`, `warn`, `error`, `fatal`, `panic`, `disabled` and empty.
|
||||
|
||||
### `WOODPECKER_LOG_FILE`
|
||||
|
||||
> Default: `stderr`
|
||||
|
||||
Output destination for logs.
|
||||
'stdout' and 'stderr' can be used as special keywords.
|
||||
|
||||
### `WOODPECKER_LOG_XORM`
|
||||
|
||||
> Default: `false`
|
||||
|
|
|
@ -196,6 +196,13 @@ The following list describes all available server configuration options.
|
|||
|
||||
Configures the logging level. Possible values are `trace`, `debug`, `info`, `warn`, `error`, `fatal`, `panic`, `disabled` and empty.
|
||||
|
||||
### `WOODPECKER_LOG_FILE`
|
||||
|
||||
> Default: `stderr`
|
||||
|
||||
Output destination for logs.
|
||||
'stdout' and 'stderr' can be used as special keywords.
|
||||
|
||||
### `WOODPECKER_LOG_XORM`
|
||||
|
||||
> Default: `false`
|
||||
|
|
Loading…
Reference in a new issue