mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Bug fixed for LogFilter
This commit is contained in:
@@ -345,6 +345,10 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM
|
||||
protected abstract void resultSetLogError(String message, Throwable error);
|
||||
|
||||
public void connection_connectAfter(ConnectionProxy connection) {
|
||||
if (connection == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (connectionConnectAfterLogEnable && isConnectionLogEnabled()) {
|
||||
connectionLog("{conn-" + connection.getId() + "} connected");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user