Class CommonsHybrisLog4jWrapper

java.lang.Object
org.apache.commons.logging.impl.Log4JLogger
de.hybris.platform.util.logging.CommonsHybrisLog4jWrapper
All Implemented Interfaces:
Serializable, org.apache.commons.logging.Log

public class CommonsHybrisLog4jWrapper extends org.apache.commons.logging.impl.Log4JLogger
This class extends org.apache.commons.logging.impl.Log4JLogger and only adds the static block static { de.hybris.platform.core.Log4JUtils.startup(); } to ensure commons logging is using log4j with our log4j configuration. This class is configured from ext/core/commons-logging.properties. If you want to change it, just place a file inside your extensions/resource directory which will be added to the classloader.
See Also:
  • Constructor Details

    • CommonsHybrisLog4jWrapper

      public CommonsHybrisLog4jWrapper(String name)