I'm facing a configuration problem with Log4J and JBoss. We want to setup a JBoss cluster that only uses one central Log4J configuration file for all the clustered servers.
The problem is that JBoss also uses Log4J for its logging work (if this wasn't true, I would have a Log4J configuration class in each server that configured Log4J by pointing to some specific config file). So the Log4J framework gets configured at startup. Does anyone know how and where to change the location of the Log4J configuration file in JBoss, so I can point all my JBoss servers in my cluster to the same Log4J config file.
Thanks in advance
resource:log4j.xml in jboss-service.xml... ?