Hi all,

Has anyone worked with log4j syslog on unix? It hasn't worked for me. This
is the config file snipet I use:

        <appender name="UnixSyslog"
class="org.apache.log4j.net.SyslogAppender">
                        <errorHandler
class="com.rsa.log4j.RSAErrorHandler"/>
                        <!-- Configure the address of the unix host -->
                        <param name="syslogHost" value="myserver" />
                        <param name="facility" value="user" />
                        <layout class="org.apache.log4j.PatternLayout">
                          <param name="ConversionPattern"
                                 value="%d %-5p [%t] - %m%n"/>
                        </layout>
        </appender>

And the appender is added to root or Category. Is there anything you need to
do with syslog.conf? Thanks.


Keith Zhu

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to