mirror of https://bitbucket.org/ausocean/av.git
revid: changed no location in reply log message to level debug
This commit is contained in:
parent
56a9b7d6ef
commit
cea3a5958a
|
@ -118,7 +118,7 @@ func extractMeta(r string, log func(lvl int8, msg string, args ...interface{}))
|
||||||
// Extract location from reply
|
// Extract location from reply
|
||||||
g, err := dec.String("ll")
|
g, err := dec.String("ll")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log(logger.Warning, pkg+"No location in reply")
|
log(logger.Debug, pkg+"No location in reply")
|
||||||
} else {
|
} else {
|
||||||
log(logger.Debug, fmt.Sprintf("%v got location: %v", pkg, g))
|
log(logger.Debug, fmt.Sprintf("%v got location: %v", pkg, g))
|
||||||
mts.Meta.Add("loc", g)
|
mts.Meta.Add("loc", g)
|
||||||
|
|
Loading…
Reference in New Issue