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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to