Commit 941f5029 authored by Josh Roppo's avatar Josh Roppo

Prefixing the log message with file path and line number is unnecessary

Fields containg the file path and line number are sufficient for
discovery where a log message came from. For deep package paths, it's so
large that in many log viewers the log message isn't even visble.
parent 895a7cca
......@@ -484,7 +484,6 @@ func DoLog(depth, logLvl int, msg string) {
"line": line,
msg = fmt.Sprintf("%s:%d %s", file, line, msg)
// Write logs using Logrus logger
logrusLvl := logrus.Level(logLvl) + 1
switch logrusLvl {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment