RE: unix syslog question

2002-08-12 Thread Shapira, Yoav

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

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Zhu, Caizhi [mailto:[EMAIL PROTECTED]]
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-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:log4j-user-
[EMAIL PROTECTED]


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




RE: unix syslog question

2002-08-12 Thread Zhu, Caizhi

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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]]
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-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:log4j-user-
[EMAIL PROTECTED]


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

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