Skip to content

Commit

Permalink
[#noissue] Replace commons-logging with log4j2
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Mar 29, 2024
1 parent eb94994 commit 604939d
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
package com.navercorp.pinpoint.mybatis.plugin;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.sql.Date;
import java.util.List;
import java.util.Properties;

/**
* proxy for intercepting {@link org.apache.ibatis.mapping.BoundSql} and changing operations of {@link org.apache.ibatis.mapping.BoundSql#getSql()}
*
* @author emeroad
*/
public class DefaultBindingLogFormatter implements BindLogFormatter {

private final Log logger = LogFactory.getLog(this.getClass());
private final Logger logger = LogManager.getLogger(this.getClass());
private boolean removeWhitespace = true;

public void setRemoveWhitespace(boolean removeWhitespace) {
Expand Down Expand Up @@ -83,7 +83,6 @@ public void setProperties(Properties properties) {
}



/**
* Convert.
*
Expand Down

0 comments on commit 604939d

Please sign in to comment.