add trace to the available logging levels

pull/1067/merge
John Shahid 2014-10-28 16:33:46 -04:00
parent 49c49d818c
commit caba1b2d7a
2 changed files with 3 additions and 1 deletions

View File

@ -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":

View File

@ -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