aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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.