mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
code format.
This commit is contained in:
@@ -765,9 +765,11 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM
|
||||
}
|
||||
String dbType = statement.getConnectionProxy().getDirectDataSource().getDbType();
|
||||
String formattedSql = SQLUtils.format(sql, dbType, parameters, this.statementSqlFormatOption);
|
||||
statementLogError("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement)
|
||||
+ "} execute error. " + formattedSql, error);
|
||||
}else{
|
||||
statementLogError("{conn-" + statement.getConnectionProxy().getId()
|
||||
+ ", " + stmtId(statement)
|
||||
+ "} execute error. " + formattedSql
|
||||
, error);
|
||||
} else{
|
||||
statementLogError("{conn-" + statement.getConnectionProxy().getId() + ", " + stmtId(statement)
|
||||
+ "} execute error. " + sql, error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user