Set log to print just a long path to file and line where an error occured.
This commit is contained in:
parent
a3b25f7ea5
commit
668075cbe2
@ -34,6 +34,8 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
log.SetFlags(log.Llongfile)
|
||||
|
||||
var network string
|
||||
if !strings.ContainsRune(*listenAddress, ':') {
|
||||
network = "unix"
|
||||
|
Loading…
Reference in New Issue
Block a user