Class Log4J2LogFactory

  • All Implemented Interfaces:
    LogFactory

    public class Log4J2LogFactory
    extends LogFactoryAdapter
    LogFactory implementation that delegates to the Log4J-2.x framework. It's configuration key is openjpa.Log=log4j2.
    • Constructor Detail

      • Log4J2LogFactory

        public Log4J2LogFactory()
    • Method Detail

      • newLogAdapter

        protected Log newLogAdapter​(String channel)
        Description copied from class: LogFactoryAdapter
        Return a log adapter for the given channel. This method may be called multiple times for the same channel in concurrent situations.
        Specified by:
        newLogAdapter in class LogFactoryAdapter