logLevelConfigBuilder.levelByDomain("sql", ProcessId.COMPUTE_ENGINE, LogDomain.SQL);
logLevelConfigBuilder.levelByDomain("es", ProcessId.COMPUTE_ENGINE, LogDomain.ES);
JMX_RMI_LOGGER_NAMES.forEach(loggerName -> logLevelConfigBuilder.levelByDomain(loggerName, ProcessId.COMPUTE_ENGINE, LogDomain.JMX));
- MSQDRIVER_LOGGER_NAMES_TO_TURN_OFF.forEach(loggerName -> logLevelConfigBuilder.immutableLevel(loggerName, Level.OFF));
+ LOGGER_NAMES_TO_TURN_OFF.forEach(loggerName -> logLevelConfigBuilder.immutableLevel(loggerName, Level.OFF));
}
@Override
"sun.rmi.transport.misc",
"sun.rmi.server.call",
"sun.rmi.dgc");
- protected static final Set<String> MSQDRIVER_LOGGER_NAMES_TO_TURN_OFF = ImmutableSet.of(
+ protected static final Set<String> LOGGER_NAMES_TO_TURN_OFF = ImmutableSet.of(
+ // mssql driver
"com.microsoft.sqlserver.jdbc.internals",
"com.microsoft.sqlserver.jdbc.ResultSet",
"com.microsoft.sqlserver.jdbc.Statement",
builder.immutableLevel("org.apache.coyote", Level.INFO);
builder.immutableLevel("org.apache.jasper", Level.INFO);
builder.immutableLevel("org.apache.tomcat", Level.INFO);
+ builder.immutableLevel("org.postgresql.core.v3.QueryExecutorImpl", Level.INFO);
+ builder.immutableLevel("org.postgresql.jdbc.PgConnection", Level.INFO);
extendLogLevelConfiguration(builder);
logLevelConfigBuilder.offUnlessTrace("org.apache.catalina.core.StandardContext");
logLevelConfigBuilder.offUnlessTrace("org.apache.catalina.core.StandardService");
- MSQDRIVER_LOGGER_NAMES_TO_TURN_OFF.forEach(loggerName -> logLevelConfigBuilder.immutableLevel(loggerName, Level.OFF));
+ LOGGER_NAMES_TO_TURN_OFF.forEach(loggerName -> logLevelConfigBuilder.immutableLevel(loggerName, Level.OFF));
}
@Override