mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve LogFilter
This commit is contained in:
@@ -300,7 +300,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM
|
||||
super.connection_commit(chain, connection);
|
||||
|
||||
if (connectionCommitAfterLogEnable && isConnectionLogEnabled()) {
|
||||
connectionLog("connect commited. id " + connection.getId());
|
||||
connectionLog("connect committed. id " + connection.getId());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM
|
||||
public void connection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit)
|
||||
throws SQLException {
|
||||
|
||||
connectionLog("connect setAutoComment " + autoCommit + ". id " + connection.getId());
|
||||
connectionLog("connect setAutoCommit " + autoCommit + ". id " + connection.getId());
|
||||
chain.connection_setAutoCommit(connection, autoCommit);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user