Logger.getLogger().getAppender( SERVER_LOG );
-Original Message-
From: Reza Razavipour [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2008 2:30 AM
To: Log4J Users List
Subject: How to get values from log4j.xml file
All,
I have a log4j.xml file for my application. I have
Thanks for the response. When I try it, I get null for Appender. Any
thoughts on why? The code is as follows:
jboss-log4j.xml has
appender name=XXX_LOG_FILE
class=org.jboss.logging.appender.DailyRollingFileAppender
param name=File value=${jboss.home.dir}/bin/log//
On Aug 26, 2008, at 10:02 AM, Reza Razavipour wrote:
Thanks for the response. When I try it, I get null for Appender. Any
thoughts on why? The code is as follows:
jboss-log4j.xml has
appender name=XXX_LOG_FILE
class=org.jboss.logging.appender.DailyRollingFileAppender
The log4j.properties file is being read by my code. As other appenders are
working fine for me with the same configurations. But the JMS Appender is
giving the problem. The error may lie somewhere else.
Bender Heri wrote:
This error occurs normally if the config file could not have been
On Aug 27, 2008, at 12:38 AM, NehaG wrote:
The log4j.properties file is being read by my code. As other
appenders are
working fine for me with the same configurations. But the JMS
Appender is
giving the problem. The error may lie somewhere else.
Add a log4j.debug=true to the file and