This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "use of log4j.xml" Watch "use of log4j.xml" New topic

use of log4j.xml

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 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.


Yogendra Joshi.

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

Joined: Sep 19, 2006
Posts: 49
thanks Yogendra
I agree. Here's the link:
subject: use of log4j.xml
jQuery in Action, 3rd edition