RE: SyslogAppender with tcp

2007-04-17 Thread Pramodh Peddi
ssage- From: Kamal Ahmed [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 2:03 PM To: Log4J Users List Subject: RE: SyslogAppender with tcp Pramodh, My guess would be the initialize() method in Syslog class , and replace the usage of DatagramSocket

RE: SyslogAppender with tcp

2007-04-11 Thread Kamal Ahmed
[mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 7:11 PM To: Log4J Users List Subject: RE: SyslogAppender with tcp Kamal, Thanks for the response. At which point do I make it to explicitly use TCP protocol in your recipe/suggestion? Thanks, -Pramodh. -Original Message- From: Kamal

Re: SyslogAppender with tcp

2007-04-10 Thread Curt Arnold
On Apr 10, 2007, at 6:09 PM, Pramodh Peddi wrote: Curt, Thanks for the response. Do you thinking the solution is difficult because I am not using XML configuration? Or irrespective of my using XML configuration or programmatic configuration, the solution is difficult? Thanks, -Pramodh. The

RE: SyslogAppender with tcp

2007-04-10 Thread Pramodh Peddi
Kamal, Thanks for the response. At which point do I make it to explicitly use TCP protocol in your recipe/suggestion? Thanks, -Pramodh. -Original Message- From: Kamal Ahmed [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 4:43 PM To: Log4J Users List Subject: RE: SyslogAppender

RE: SyslogAppender with tcp

2007-04-10 Thread Pramodh Peddi
:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 5:59 PM To: Log4J Users List Subject: Re: SyslogAppender with tcp On Apr 9, 2007, at 2:50 PM, Pramodh Peddi wrote: > Hi, > > I am using log4j for logging and doing syslogging to the localhost > using > SyslogAppender. I am NOT using co

Re: SyslogAppender with tcp

2007-04-09 Thread Curt Arnold
On Apr 9, 2007, at 2:50 PM, Pramodh Peddi wrote: Hi, I am using log4j for logging and doing syslogging to the localhost using SyslogAppender. I am NOT using configuration/XML file to specify log4j settings. I am using java code to provide settings. Things are working fine except that I want

RE: SyslogAppender with tcp

2007-04-09 Thread Kamal Ahmed
Here is the recipe: 1. Extend the AppenderSkeleton abstract class. 2. Specify whether your appender requires a layout. 3. If some properties must be activated simultaneously, do it within the activateOptions() method. 4. Implement the close() method. It must set the value of the clo