Hi Kevan
Thanks for your reply. Looking through the code in Log4jService.java made
the difference..
// Allow users to override the configurationFile which is hardcoded
// in config.ser and cannot be updated by config.xml, as the
// AttrbiuteManager comes up after this GBean
String cfgFile = System
.getProperty(LOG4JSERVICE_CONFIG_PROPERTY);
if ((cfgFile != null) && (!cfgFile.equals(""))) {
this .configurationFile = cfgFile;
}
So the config file value can be overridden at server startup by using
org.apache.geronimo.log4jservice.configuration system property, and it also
seems to accept the xml format :-)
Thanks once again.
Regards Mik
--
View this message in context:
http://apache-geronimo.328035.n3.nabble.com/XML-Log4j-configuration-tp1388271p1393987.html
Sent from the Users mailing list archive at Nabble.com.