logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amee <amee.de...@wipro.com>
Subject Unable to log messages using syslog
Date Fri, 13 Mar 2009 12:01:50 GMT
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


Mime
View raw message