Hi Adam, Pax logging is aware of the configuration admin. If you go ahead and also deploy the Felix Config Admin and Pax Confman Propsloader (I use 0.2.1 with Felix 3.0.6), you should be able to put your logging configuration into /conf/services/org.ops4j.pax.logging.properties.
The filename resembles the service's pid (in this case org.ops4j.pax.logging) and is therefore used to configure that services. Tobias On 06.01.2011, at 15:54, Adam Crain wrote: > Hi, > > I'm trying to get Pax Logging working with Felix 3.06. > > I have successfully install PaxLogging API/Service (all bundles are active > without error). I cannot seem to find sufficient documentation on how to > configure the log4j backend. By default, it is is streaming all log out at > level DEBUG to the console! I have tried the following locations: > > 1) conf/system.properties > 2) conf/log4j.properties > 3) editing the log4j.properties in the pax logging jar > > Nothing seems to pick up my changes which doesn't even have a > ConsoleAppender: > > ------------------------------------------------------------------------------------------------------ > # Set root logger level to ALL and its only appender to R > > log4j.rootLogger= ALL, R > > # Set test loggers demoLogger and develoLogger > > log4j.logger.demoLogger=ERROR > log4j.logger.develLogger=DEBUG > > # R is set to be a file appender > > log4j.appender.R=org.apache.log4j.RollingFileAppender > log4j.appender.R.File=reef.log > > # A1 uses TTCCLayout > > log4j.appender.R.MaxFileSize=100MB > log4j.appender.R.layout=org.apache.log4j.TTCCLayout > -------------------------------------------------------------------------------------------------------- > > > Any help would be appreciated. The support page for PaxLogging is blank. > > -Adam P --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

