mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Use global logger for xorm logs and add options (#1997)
Please let me know if this goes in the right direction. Needs some tests and docs.
This commit is contained in:
@@ -189,6 +189,16 @@ 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_XORM`
|
||||
> Default: `false`
|
||||
|
||||
Enable XORM logs.
|
||||
|
||||
### `WOODPECKER_LOG_XORM_SQL`
|
||||
> Default: `false`
|
||||
|
||||
Enable XORM SQL command logs.
|
||||
|
||||
### `WOODPECKER_DEBUG_PRETTY`
|
||||
> Default: `false`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user