Skip to content

Commit b7b2e1a

Browse files
committed
Reduce loglevel "CONFIG" for config data
Save HDD space and CPU time. Increase loglevel to config if you need the data.
1 parent 881e1b7 commit b7b2e1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/tsystems/sbs/LogFileFilterConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static LogFileFilterConfig get() {
3232
LOGGER.log(Level.SEVERE, "Config not found! " + e);
3333
throw e;
3434
}
35-
LOGGER.log(Level.INFO, "Found config.");
35+
LOGGER.log(Level.CONFIG, "Found config.");
3636
return config;
3737
}
3838

src/main/java/com/tsystems/sbs/LogFileFilterOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public LogFileFilterOutputStream(OutputStream out, Charset charset, String jobNa
7070

7171
// Log defaultRegexpPairs
7272
for (RegexpPair pair : defaultRegexpPairs) {
73-
LOGGER.log(Level.INFO, pair.toString());
73+
LOGGER.log(Level.CONFIG, pair.toString());
7474
}
7575
} else {
7676
customRegexpPairs = Collections.<RegexpPair>emptyList();

0 commit comments

Comments
 (0)