aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How to use Log4j - single log file for 6 j2ee modules in a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply locked New topic
Author

How to use Log4j - single log file for 6 j2ee modules in a project

Markis
Greenhorn

Joined: Jun 04, 2007
Posts: 4
Hi,

My requrement is to have a single, custom log file for one entire application.
Using log4j.xml for config. I have logger put in an EJB utilility module, the same needs to be used in all other [java, ejb, web] modules in the EAR project.

Any thoughts on this?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to use Log4j - single log file for 6 j2ee modules in a project