Hi ,
We are currently using Netty 4.0.3 which is embedded in one of our distributed services.
We use Log4j in our services. Now when I start the service , always get an error :-
java.lang.Exception: log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
noconfig for more info.
Now in the service that contains Netty the first line in the constuctor is InternalLoggerFactory.setDefaultFactory(new Log4JLoggerFactory());
Thing is the log4j properties file is named 'ifp-logger.properties' and the file is in the class path.
Log4j PropertyConfigurator.configure has the renamed file name.All other services work apart from this one
Could it be the renamed properties file is not visible to Netty or what could I be doing wrong ?