logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24217] - default initialization of xml config file
Date Thu, 30 Oct 2003 21:38:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24217>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24217

default initialization of xml config file

rpolikepati@uscentral.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From rpolikepati@uscentral.org  2003-10-30 21:38 -------
Hi, This is brief explanation. My project root directory is core. I have 
classes folder under core, core/classes. Initially, I had log4j.xml file in the 
classes folder. I invoked my JVM in classes folder. When I called the 
Logger.getLogger in my class, the LogManager for some reason didnot load the 
log4j.xml as its default initial configuration and I could not use the defined 
loggers and appenders. But when I invoked the jvm by passing the 
log4j.configuration=log4j.xml argument, it loaded my configuration. At this 
stage, I changed my configuration to log4j.properties and called the jvm in 
classes without passing argument. At this stage it worked fine. FYI, I am using 
1.2.8.
Thanks
Raj

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message