Prefix log filename unhelpful #592
Labels
exp/novice
Someone with a little familiarity can pick up
kind/bug
A bug in existing code (including security flaws)
topic/cleanup
Topic cleanup
There are lots of logs using prefixlog that print out a message, but give no indication of where that message originated from, since the log function is being called from inside prefixlog. This can be solved by increasing the value of
ExtraCallDepth
on the logger object itself: https://github.com/op/go-logging/blob/4d186fb040e7e748df3736262acc9816156cc194/logger.go#L88The text was updated successfully, but these errors were encountered: