remove pkg info for prod logging, add braces

This commit is contained in:
Umputun
2019-04-05 16:24:01 -05:00
parent 50e437c22c
commit 5d052f8eff
+2 -2
View File
@@ -62,10 +62,10 @@ func main() {
func setupLog(dbg bool) {
if dbg {
log.Setup(log.Debug, log.CallerFile, log.Msec)
log.Setup(log.Debug, log.CallerFile, log.Msec, log.LevelBraces)
return
}
log.Setup(log.Msec, log.CallerPkg)
log.Setup(log.Msec, log.LevelBraces)
}
// getDump reads runtime stack and returns as a string