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 OO, Patterns, UML and Refactoring and the fly likes enterprise logging in a distributed enviornment. 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 » Engineering » OO, Patterns, UML and Refactoring
Bookmark "enterprise logging in a distributed enviornment." Watch "enterprise logging in a distributed enviornment." New topic
Author

enterprise logging in a distributed enviornment.

Srinivas Ramgopal
Ranch Hand

Joined: Aug 06, 2006
Posts: 63
Hi all,

In a distributed j2ee application wherein clustering/components on different servers and multithreading is involved, is there a way to design a global enterprise/application level logging to a single global file.

In general, is it okay to club the application log file with database audit logging.

Your thoughts are highly appreciated.

Thanks in advance for your valuable time and interest.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yes, a database-based log would be a good idea if you need a single log file across the cluster. Log4J, for example, has a JDBC Appender that does just that.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: enterprise logging in a distributed enviornment.
 
Similar Threads
Websphere 6.1 - Apache commons logging with log4j does not work
GNU Lesser general public license !!
question on servlet contexts
J2EE and Logging
distributoed technology means?