This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

How to create different logs for different applications using LOG4J

 
Ravi
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
How to create different logs for different applications

I had two applications(war files) and I have to create different logs for them. I tried using log4j.properties file pointing to different log files and made the changes to the jboss-service.xml and jboss-web.xml to point to my log4j .properties in the class path.

But this is not working if had two deployed wars
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
"saurav thebest"

Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.

Thanks

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
"Ravi"

This still does not meet the JavaRanch policy

You must use your first and last names. Not just a first name.

Mark
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic