i2psnark: Reduce log level

This commit is contained in:
zzz
2022-03-04 05:57:27 -05:00
parent c4b167b845
commit a7115263f0

View File

@@ -720,8 +720,9 @@ public class MetaInfo
if (infoMap != null)
return Collections.unmodifiableMap(infoMap);
// we should only get here if serving a magnet on a torrent we created
if (_log.shouldLog(Log.WARN))
_log.warn("Creating new infomap", new Exception());
// or on edit torrent save
if (_log.shouldDebug())
_log.debug("Creating new infomap", new Exception());
// otherwise we must create it
Map<String, BEValue> info = new HashMap<String, BEValue>();
info.put("name", new BEValue(DataHelper.getUTF8(name)));