We want to include environment specific log4.properties files inside our bundle to log bundle specific messages in seperate files. We don't want to add this configuration in org.ops4j.pax.logging.cfg files.
When we deploy the bundle some how the configuration in our log4.properties is never read. Any suggestion related to what we are missing here are welcome. Here are the contents of my log4.properties: # Global logging configuration log4j.rootLogger=ERROR, stdout #My App Logger Created A1 log4j.logger.MyAppLogger=DEBUG, MyLog log4j.additivity.AppLogging=false log4j.appender.MyLog=org.apache.log4j.DailyRollingFileAppender log4j.appender.MyLog.DatePattern='.'yyyy-MM-dd log4j.appender.MyLog.File=C\:\\Apache\\apache-servicemix-4.2.0\\data\\applog\\My-log.log log4j.appender.MyLog.layout=org.apache.log4j.PatternLayout log4j.appender.MyLog.layout.ConversionPattern=%d %p [%c] - %m%n log4j.appender.MyLog.append=true -- View this message in context: http://servicemix.396122.n5.nabble.com/Log4-properties-tp2265778p2265778.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
