log tweak

This commit is contained in:
zzz
2016-02-19 02:51:11 +00:00
parent 238ebc23e2
commit 451cb2573a

View File

@@ -76,8 +76,8 @@ public class HandleDatabaseLookupMessageJob extends JobImpl {
// If we are hidden we should not get queries, log and return
if (getContext().router().isHidden()) {
if (_log.shouldLog(Log.ERROR)) {
_log.error("Uninvited dbLookup received with replies going to " + fromKey
if (_log.shouldLog(Log.WARN)) {
_log.warn("Uninvited dbLookup received with replies going to " + fromKey
+ " (tunnel " + _message.getReplyTunnel() + ")");
}
return;