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.
posted 9 years ago
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.