This content has been marked as final.
Show 5 replies
-
1. Re: Log to syslog
npope Oct 3, 2008 12:12 PM (in response to npope)hmmm... dont know how to edit this post so I will repost the Syslog config which magically disappeared
<!-- Syslog events --> -
2. Re: Log to syslog
npope Oct 3, 2008 12:13 PM (in response to npope)doh why will it not take it
<!-- Syslog events --> <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="Facility" value="JBOSS"/> <param name="FacilityPrinting" value="true"/> <param name="SyslogHost" value="localhost"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/> </layout> </appender>
-
3. Re: Log to syslog
peterj Oct 3, 2008 3:02 PM (in response to npope)According to the javadoc:
The <code>facilityName</code> parameter must be one of the
strings KERN, USER, MAIL, DAEMON, AUTH, SYSLOG, LPR, NEWS, UUCP,
CRON, AUTHPRIV, FTP, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4,
LOCAL5, LOCAL6, LOCAL7. Case is unimportant.
And it does look like the setFacility() code checks for the name. -
4. Re: Log to syslog
rajamurugank Oct 22, 2008 6:05 AM (in response to npope)Hi,
I have also same issue.If you got any solution for this issue .
plese reply back.
Regards,
RajaK -
5. Re: Log to syslog
peterj Oct 22, 2008 12:10 PM (in response to npope)RajaK, based on your other post, you do not have this same error. In fact, this post provides the answer to the question you asked in your other post.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183873#4183873