Re: Network logging for Java desktop application
Will Sargent <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
Log4J has appenders that will transmit packets across the network. Look here for more details: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/package-summary.html I personally avoid java.util.logging when I can -- I've had issues with it, although I can't remember exactly what those issues were now. Will. On 10/19/07, Frank Harper <[email protected]> wrote: > I have a java desktop application that is installed locally on users > machines via Java Web Start, and would like to centralize the logging to > facilitate diagnosing bugs. > > The app uses the standard java logging framework that comes with J2SE. > Apparently with this logging framework the standard way to do network > logging is to use java.util.logging.SocketHandler. I couldn't find any > complete examples on the Web, and the documentation is completely mute about > what should be running on the server side to collect the information sent by > SocketHandler. > > So, have any of you done network logging in Java, and what software did you > use? Did you use J2SE+SocketHandler, classic unix syslog, Log4J, or > something better/different? And in particular what software did you run on > the log server? > > Thanks > Frank > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com