Is Anet 1.9.9 SDK AIM compaitable with log4j2?
I have the logging set to where I want it using lig4j1 but I've upgraded to log4j2 and it doesn't seem like my settings are being recognized. I've included the following from the SDK resources log4j.properties in my log4j2.properties. I've also tried replacing log4j with log4j2 below without success. I still get warnings and info from the SDK even with the root level set to FATAL.
log4j.rootLogger.net.authorize.util.HttpClient=FATAL, R
Any help would be appreciated.
My full log4j2.properties:
rootLogger.level = fatal
rootLogger.appenderRefs = console, rolling
rootLogger.appenderRef.console.ref = STDOUT
rootLogger.appenderRef.rolling.ref = FILE
# Tell the root logger what appenders and level to use
appenders = console, rolling
##### Console Appender #####
appender.console.name = STDOUT
appender.console.type = Console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss z} %-5p %m%n
##### File Appender #####
appender.rolling.name = FILE
appender.rolling.type = RollingFile
appender.rolling.fileName = myfile.log
appender.rolling.filePattern = myfile.log
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss z} %-5p %m%n
appender.rolling.layout.type = PatternLayout
appender.rolling.policies.type = Policies
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 5MB
#appender.rolling.strategy.type = DefaultRolloverStrategy
##### Authorize.net #####
log4j2.rootlogger.net.authorize.util.HttpClient=FATAL, STDOUT