From 1f6e595c83ebc6c6a00f78857e2f5fa0424b0d0b Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 11 Jun 2018 14:57:33 -0700 Subject: [PATCH] remove unnecessary ExtraCalldepth This was messing with the line numbers. It was reported and fixed in #33 but that PR isn't formatted. closes #33 (all credit goes to @jiangsong) --- oldlog.go | 1 - 1 file changed, 1 deletion(-) diff --git a/oldlog.go b/oldlog.go index efebd159807f..bb0396e697f8 100644 --- a/oldlog.go +++ b/oldlog.go @@ -121,7 +121,6 @@ func GetSubsystems() []string { func getLogger(name string) *logging.Logger { log := logging.MustGetLogger(name) - log.ExtraCalldepth = 1 loggers[name] = log return log }