[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    Unable to log messages using syslog
From:       Amee <amee.desai () wipro ! com>
Date:       2009-03-13 12:13:50
Message-ID: 1236945710.5632.17.camel () amee-desktop
[Download RAW message or body]

Hi,
I am working in Ubuntu. 
I am trying to log messages using Syslog appender.
The sample program works fine but my /var/log dirctory contain no
messages.
My sample lo4j.properties is

log4j.rootLogger=,a
log4j.appender.a=org.apache.log4j.net.SyslogAppender
log4j.appender.a.syslogHost=localhost
log4j.appender.a.Threshold=DEBUG 
log4j.appender.a.Facility=USER
log4j.appender.a.layout=org.apache.log4j.PatternLayout
log4j.appender.a.layout.ConversionPattern=%5p [%t] %c - %m%n

I change my sysklogd file for getting remote connection. I also change
my syslog.conf file for UDP support. But still its not working.

Please solve this problem.

Thanks and Regards,
Amee


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this \
message are intended for the exclusive use of the addressee(s) and may contain \
proprietary, confidential or privileged information. If you are not the intended \
recipient, you should not disseminate, distribute or copy this e-mail. Please notify \
the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check \
this email and any attachments for the presence of viruses. The company accepts no \
liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic