generated from jCloud/repository-template
Add configuration options for logging
This commit is contained in:
+13
-1
@@ -23,7 +23,19 @@
|
|||||||
# openapi=
|
# openapi=
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
# The file for the logs. Default is stdout ('/proc/self/fd/1').
|
# The target for logging. Possible values are `file` and `stdout`.
|
||||||
|
# Default is `stdout`. If the value is invalid, the default value is used
|
||||||
|
# instead if fail_strict is not true. If it is true and the value is
|
||||||
|
# invalid, it fails.
|
||||||
|
# logtarget=
|
||||||
|
|
||||||
|
# If one of 'true', 'yes', 't', or 'y', stdout is used as a fallback if
|
||||||
|
# the logging target is a file and the log file cannot be used for
|
||||||
|
# various reasons. Otherwise, the default value for the property
|
||||||
|
# logtarget is used as a fallback. Default is false.
|
||||||
|
# fail_strict=
|
||||||
|
|
||||||
|
# The file for the logs. Default is empty.
|
||||||
# logfile=
|
# logfile=
|
||||||
|
|
||||||
# The log level. Default is INFO.
|
# The log level. Default is INFO.
|
||||||
|
|||||||
@@ -11,5 +11,7 @@ redoc=/redoc
|
|||||||
openapi=/openapi.json
|
openapi=/openapi.json
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
logfile=/proc/self/fd/1
|
logtarget=stdout
|
||||||
|
logfile=
|
||||||
|
fail_strict=false
|
||||||
loglevel=INFO
|
loglevel=INFO
|
||||||
Reference in New Issue
Block a user