Skip to content

Commit

Permalink
Add missing escape characters for log errors whitelist
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
  • Loading branch information
Frawless committed Feb 6, 2024
1 parent 03594af commit e929585
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ enum LogIgnoreList {
ZOOKEEPER_DNS_ERROR("Unable to resolve address:.*zookeeper.*java.net.UnknownHostException.*"),
LOGGER_DOES_NOT_EXISTS("Logger paprika does not exist"),
// This exception is logged on DEBUG level of the operator, however it is hit when logging is to JSON format where it is hard whitelist without this
ZOOKEEPER_END_OF_STREAM("org.apache.zookeeper.ClientCnxn$EndOfStreamException"),
ZOOKEEPER_END_OF_STREAM("org.apache.zookeeper.ClientCnxn\\$EndOfStreamException"),
// This is expected failure in some cases, so we can whitelist it
REBALANCE_NON_JBOD("Status updated to [NotReady] due to error: Cannot set rebalanceDisk=true for Kafka clusters with a non-JBOD storage config");
REBALANCE_NON_JBOD("Status updated to \\[NotReady\\] due to error: Cannot set rebalanceDisk=true for Kafka clusters with a non-JBOD storage config");


final String name;
Expand Down

0 comments on commit e929585

Please sign in to comment.