Re: questions regarding log4j console prints and rolling file appender

2006-01-28 Thread Sumit Kumar
reasons to move for alpha 8 !! Regards Sumit >>> On Fri, Jan 27, 2006 at 10:40 pm, in message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Quoting Sumit Kumar <[EMAIL PROTECTED]>: > >> Hi Devs, >> >> I am using log4j alpha6 for logging. Quite good,

Re: questions regarding log4j console prints and rolling file appender

2006-01-27 Thread Sumit Kumar
To Add with that, I am using xml configuration file to configure log4j. Sumit >>> On Fri, Jan 27, 2006 at 1:33 pm, in message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Hi Devs, > > I am using log4j alpha6 for logging. Quite good, but still facing few > problems and need you help .. > >

questions regarding log4j console prints and rolling file appender

2006-01-27 Thread Sumit Kumar
Hi Devs, I am using log4j alpha6 for logging. Quite good, but still facing few problems and need you help .. 1. While configure, there were many messages printed on the console. I set LogLog.setQuiteMode(true) and many of the messages gone away. But still there are few messages printed on the con

how to know about added appenders ???

2005-04-27 Thread Sumit Kumar
Hi, Is there any way to know the appenders added to a perticular catagory at run time {through configuration file. } Enabling debug {debug="true"} prints debug only while parsing xml file and preparing appenders. I need a option to get the debugs while logging a message. Sumit --

clarification about AndFilter ....

2005-04-25 Thread Sumit Kumar
Hi All, It's really good to see AndFilter in 1.3. It will help me really a lot. Here I need some clarification about AndFilter (and some general queries). (Forgive me if I am wrong somewhere) 1. Why AndFilter checks for every added filter in the list when the earlier one returns false. (Code is:

filtering mechenism in log4j

2005-04-04 Thread Sumit Kumar
All, I was looking for the filtering in log4j. Currently the first NON-NEUTRAL filter in the list is the decider filter. I want to use the filters in and'ed and or'ed manner. So if filters are and'ed then massage will be logged if all filter returns ACCEPT (or if some of them returns NEUTRAL and r

error while sending mail to gmail (must issue a starttls command)

2005-04-04 Thread Sumit Kumar
Hi, I am getting this exception error while sending mail to gmail server. (smtp.gmail.com). log4j:ERROR Error occured while sending e-mail notification. javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: 530 5.7.0 Must issue a START

Re: SMTPAppender suggestion

2004-08-06 Thread Sumit Kumar
hi all, I think the SMTP appender can be cahnge to connect to authenticated server by this way: - 1. Add four more functions in the SMTPAppender class say getpassword, setpassword, getUsername, setUserName. user will give these thing from properties file. 2. Extends the class Authenticator of jav

Re: SMTPAppender suggestion

2004-08-06 Thread Sumit Kumar
hi all, I think the SMTP appender can be cahnge to connect to authenticated server by this way: - 1. Add four more functions in the SMTPAppender class say getpassword, setpassword, getUsername, setUserName. user will give these thing from properties file. 2. Extends the class Authenticator of jav

SNMPTrapAppender configuration

2004-08-06 Thread Sumit Kumar
hi all, I am using SNMPTrap appender but i find some problem there. The append fuction first loads implementation class then calls parseLoggingEventAndAddToTrap function to add varbinds. Now if i want to add more than one varbind how can i do it. My varbinds are part of message it self. i need

SNMPTrapAppender configuration

2004-08-06 Thread Sumit Kumar
hi all, I am using SNMPTrap appender but i find some problem there. The append fuction first loads implementation class then calls parseLoggingEventAndAddToTrap function to add varbinds. Now if i want to add more than one varbind how can i do it. My varbinds are part of message it self. i need

Re: SMTPAppender suggestion

2004-08-06 Thread Sumit Kumar
hi all, I want to use SMTP for authentiacated server (username, password)...does anyone working on that too.. That will be a great enhancement. Bacause most of the time we have a authenticated server. Thanks sumit >>> [EMAIL PROTECTED] 8/6/2004 3:18:44 PM >>> Hi, Sorry if this suggestion is a

Re: SMTPAppender suggestion

2004-08-06 Thread Sumit Kumar
hi all, I want to use SMTP for authentiacated server (username, password)...does anyone working on that too.. That will be a great enhancement. Bacause most of the time we have a authenticated server. Thanks sumit >>> [EMAIL PROTECTED] 8/6/2004 3:18:44 PM >>> Hi, Sorry if this suggestion is a