add trace to the available logging levels
parent
49c49d818c
commit
caba1b2d7a
|
@ -21,6 +21,8 @@ import (
|
|||
func setupLogging(loggingLevel, logFile string) {
|
||||
level := log.DEBUG
|
||||
switch loggingLevel {
|
||||
case "trace":
|
||||
level = log.TRACE
|
||||
case "info":
|
||||
level = log.INFO
|
||||
case "warn":
|
||||
|
|
|
@ -16,7 +16,7 @@ bind-address = "0.0.0.0"
|
|||
reporting-disabled = true
|
||||
|
||||
[logging]
|
||||
# logging level can be one of "debug", "info", "warn" or "error"
|
||||
# logging level can be one of "trace", "debug", "info", "warn" or "error"
|
||||
level = "info"
|
||||
file = "stdout" # stdout to log to standard out, or syslog
|
||||
|
||||
|
|
Loading…
Reference in New Issue