error to warn

This commit is contained in:
zzz
2008-12-03 16:55:48 +00:00
parent dff75de97a
commit 8e5c4a3e22

View File

@@ -172,8 +172,8 @@ public class Blocklist {
private void readBlocklistFile(String file) {
File BLFile = new File(file);
if (BLFile == null || (!BLFile.exists()) || BLFile.length() <= 0) {
if (_log.shouldLog(Log.ERROR))
_log.error("Blocklist file not found: " + file);
if (_log.shouldLog(Log.WARN))
_log.warn("Blocklist file not found: " + file);
return;
}
long start = _context.clock().now();