IP filtering: Removing error messages claiming to reject all connections
Original commit: elastic/x-pack-elasticsearch@2fe77515e7
This commit is contained in:
parent
464bc0a752
commit
2e6a8e0db8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue