logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhu, Caizhi" <c...@rsasecurity.com>
Subject RE: unix syslog question
Date Mon, 12 Aug 2002 16:38:12 GMT
Hi,

I looked at the log file and there was nothing. Actually another appender
that logs to a flat file (without going thru syslog) worked all right. 

Caizhi

-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
Sent: Monday, August 12, 2002 11:37 AM
To: Log4J Users List
Subject: RE: unix syslog question


Hi,
What happened when you try this?  (Without modifying syslog.conf)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Zhu, Caizhi [mailto:czhu@rsasecurity.com]
>Sent: Monday, August 12, 2002 11:35 AM
>To: 'Log4J Users List'
>Subject: unix syslog question
>
>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:log4j-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-user-
>help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message