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
In this case, you would have to implement a Java application in the server, in order to receive the serialized LoggingEvents and log them locally the way you want.
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
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .