Skip to content

Commit

Permalink
Reduce loglevel "CONFIG" for config data
Browse files Browse the repository at this point in the history
Save HDD space and CPU time. Increase loglevel to config if you need the data.
  • Loading branch information
amandel committed Oct 29, 2024
1 parent 881e1b7 commit b7b2e1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/tsystems/sbs/LogFileFilterConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static LogFileFilterConfig get() {
LOGGER.log(Level.SEVERE, "Config not found! " + e);
throw e;
}
LOGGER.log(Level.INFO, "Found config.");
LOGGER.log(Level.CONFIG, "Found config.");
return config;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public LogFileFilterOutputStream(OutputStream out, Charset charset, String jobNa

// Log defaultRegexpPairs
for (RegexpPair pair : defaultRegexpPairs) {
LOGGER.log(Level.INFO, pair.toString());
LOGGER.log(Level.CONFIG, pair.toString());
}
} else {
customRegexpPairs = Collections.<RegexpPair>emptyList();
Expand Down

0 comments on commit b7b2e1a

Please sign in to comment.