1) The SocketAppender API explains "SocketAppenders do not use a layout.
They ship a serialized
LoggingEvent object to the server side." Does this mean I cannot configure
the output format on the client side but I can on the server side.

2) Also I wonder if the logging request gets flushed out  immediately? If
not, then how soon the logging request got sent and should I use
SocketAppender.close to help flush it, like:

     Category  cat = Category.getInstance("com.xyz.FirstTry");

     SocketAppender sa = new SocketAppender(host, port);
     cat.addAppender(sa);

     cat.setPriority(Priority.INFO);
     cat.warn("You should see this WARN message.");
     sa.close();

Thank you!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to