This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes use of log4j.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "use of log4j.xml" Watch "use of log4j.xml" New topic
Author

use of log4j.xml

Pradeep
Ranch Hand

Joined: Sep 19, 2006
Posts: 49
hi to all

i want to know advantages of log4j.xml file
Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
Hi Pradeep ,

log4j.xml file is similar to the log4j.properties file. The difference is in the properties file , You declare key values for Defining the appenders,layouts etc, Here in the log4j.xml file , You use xml tags to do it. Its more simpler if you have worked with an XML before. Even if you have not worked , It is easy thats what i like.

Regards,

Yogendra Joshi.


Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
Pradeep
Ranch Hand

Joined: Sep 19, 2006
Posts: 49
thanks Yogendra
 
jQuery in Action, 2nd edition
 
subject: use of log4j.xml
 
Similar Threads
invalid console appender .....
InfoLevelEventEvaluator where is it?
Struck thread and deadlock while getting connection
log4j not logging
struts & Log4J