Improve trace logging
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"net"
|
||||
|
||||
"github.com/oschwald/maxminddb-golang"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
func getReader(ip net.IP) *maxminddb.Reader {
|
||||
@@ -49,7 +48,5 @@ func GetLocation(ip net.IP) (record *Location, err error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
log.Tracef("geoip: record: %+v", record)
|
||||
|
||||
return record, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user