Re: Network logging for Java desktop application
Frank Harper <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
OK Jeff that sounds interesting to me, but what do you use on the server side? On 10/19/07, Jeff Kesselman <[email protected]> wrote: > > On the flip side... I use java.util.logging and have had no issues *shrug* > > To me thats much preferable to yet-another-third-party jar I need to > include. > > *shrug* YMMV > > JK > > Will Sargent wrote: > > 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(R) http://www.develop.com > > > > View archives and manage your subscription(s) at > http://discuss.develop.com > > > > > -- > ======================================================================= > Journalism 101: The difference between news and a press release > > News tells you what the reporter thinks is true. > > A press release tells you what a company wants *you* to think is true. > > Only bad reporters think the two are the same. > > =================================== > 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