how to log a distributed application using Log4j in Tomcat?

Hi all,

I want to write a logging mechanism to an distributed application using Log4j such that I need to get the logs of the whole application in a single file.

Currently I have logged that application that runs in a single machine.but I want the log mechanism to work when the application gets distribured.

How do I achive that?

Please help me

[376 byte] By [sudarsona] at [2007-10-2 0:33:42]
# 1

log4j has a variety of [url=http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/package-summary.html]network loggers[/url] that you could use. Your clients would have to be configured to send to the correct place but otherwise it should be transparent.

- - -

Need Java help? Want to help people who do? Sit down with a cup of Java at the [url=http://forums.hotjoe.com/forums/list.page]hotjoe[/url] forums.

Sure they're new - come get them started![

stdunbara at 2007-7-15 16:48:15 > top of Java-index,Archived Forums,Debugging Tools and Techniques...