IP filtering: Removing error messages claiming to reject all connections

Original commit: elastic/x-pack-elasticsearch@2fe77515e7
This commit is contained in:
Alexander Reelsen 2014-10-02 11:06:32 +02:00
parent 464bc0a752
commit 2e6a8e0db8
1 changed files with 0 additions and 2 deletions

View File

@ -67,7 +67,6 @@ public class IPFilteringN2NAuthenticator extends AbstractComponent implements N2
public static IpFilterRule[] parseFile(Path path, ESLogger logger) {
if (!Files.exists(path)) {
logger.info("No IP filtering rules loaded, as file {} does not exist. Rejecting all incoming connections!", path);
return NO_RULES;
}
@ -105,7 +104,6 @@ public class IPFilteringN2NAuthenticator extends AbstractComponent implements N2
}
if (rules.size() == 0) {
logger.info("No IP filtering rules loaded. Rejecting all incoming connections!");
return NO_RULES;
}