Re: Network logging for Java desktop application
Peter Booth <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
Do you really want to make your application's reliability and performance dependent on the health of the network logging mechanism? If Call me conservative but I would much prefer to log locally and use a decoupled mechanism for log file aggregation. Capistrano, for example can make this trivial across OSes. Peter On Oct 19, 2007, at 10:41 AM, Frank Harper 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® 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