Re: Problem in using SMTPAppender with gmail

2008-09-19 Thread Curt Arnold
On Sep 19, 2008, at 6:30 AM, Virajith KHP wrote: Hello, I'm using Log4j as the logging framework and I've configured it to send an email with log information when a log with ERROR/FATAL logging level is created.My Log4j configuration is as follows. code:

Re: Log4j Version # 1.2.8 occasionally stops logging without any error message

2008-09-19 Thread Curt Arnold
On Sep 19, 2008, at 6:12 PM, Vijendra Rai wrote: Hi, I work as technical support Engineer at a software company We use log4j within our applications for logging, It is a java based application running under WebLogic version 8.1 and Sun JVM 1.4.2 One of our customer reported that occas

Log4j Version # 1.2.8 occasionally stops logging without any error message

2008-09-19 Thread Vijendra Rai
Hi, I work as technical support Engineer at a software company We use log4j within our applications for logging, It is a java based application running under WebLogic version 8.1 and Sun JVM 1.4.2 One of our customer reported that occasionally Log4j stops logging without any apparent reas

Re: Unable to get Syslog appender to work without the -r option

2008-09-19 Thread Douglas E Wegscheid
one option would be for syslogd to accept network connection, but only from localhost (127.0.0.1). No worse of a security exposure than listening on the Unix socket, IMHO. This would not be a syslog,conf setting; it would need to be done with some form of firewall that would deny remote access

Re: Problem in using SMTPAppender with gmail

2008-09-19 Thread Virajith KHP
Hello Douglas, Thank you for committing your time on this. I did a deep google search on this but unfortunately I couldn't get any answer solving this issue. As you have mentioned, I've already gone through the link you've supplied. I posted this issue in javaranch.com but not yet answered. and th

Re: Problem in using SMTPAppender with gmail

2008-09-19 Thread Douglas E Wegscheid
I believe that SMTP to gmail needs to be done with TLS (encrypted). A google search will turn up what needs to be done to make javamail talk TLS; unsure of how to configure log4j to configure javamail to do so. http://forums.sun.com/thread.jspa?threadID=5304862&messageID=10293973 describes the

RE: DatePattern question

2008-09-19 Thread Michael Erskine
> Thanks for the hint, my version of log4j does not have such support, I > did RTFM :) > Which version of log4j has these methods? I will check again though. I'm using the latest 1.2 log4j (http://logging.apache.org/log4j/1.2/index.html) which is 1.2.15 (http://archive.apache.org/dist/logging/log

Problem in using SMTPAppender with gmail

2008-09-19 Thread Virajith KHP
Hello, I'm using Log4j as the logging framework and I've configured it to send an email with log information when a log with ERROR/FATAL logging level is created.My Log4j configuration is as follows. code:

Unable to get Syslog appender to work without the -r option

2008-09-19 Thread Kannan Ekanath
Hi,Log4j - 1.2.18 I am using the Log4j Syslog Appender to write syslog messages to my localhost. Since this is just localhost I would have expected the Appender to not draw up any network connections. I redirect all *.info messages in my localhost to a file and I did not see my log4j messages there