mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-21 23:53:14 +01:00
Set report caller when info or higher (#555)
This commit is contained in:
parent
f37b43a542
commit
7d7e576775
@ -40,7 +40,7 @@ func InitLog(logLevel string, logPath string) error {
|
||||
return "", fileName
|
||||
}
|
||||
|
||||
if level == log.DebugLevel {
|
||||
if level > log.WarnLevel {
|
||||
log.SetReportCaller(true)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user