This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use of log4j.xml

 
Pradeep
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi to all

i want to know advantages of log4j.xml file
 
Yogendra Joshi
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pradeep
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Yogendra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic