logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Tomcat -- All Logs to Syslog
Date Tue, 07 Feb 2006 17:12:56 GMT

I use WinXP, and I've never seen any message about the "Tomcat Native library",
so you'll have to ping the tomcat-user list for info on that.

I'm not sure about the SysLogAppender either.  I've never used it.  Doesn't it
require a native (C++) library to be installed?  Try something slightly less
exotic like a ConsoleAppender and and FileAppender.  It looks like Log4j is
generally working so you are getting past your previous issues.  The other
issues here seem unrelated to your original problem.  You can treat that as
good or bad news depending on your point of vew.

Hopefully someone else here can provide information on the SysLogApender issue
you are running into.

Jake

Quoting Mark F <mfaine@knology.net>:

> Jacob Kjome wrote:
> > "commons-logging-api.jar" should be in CATALINA_HOME/bin.
> "commons-logging.jar"
> > and log4j.jar should be in CATALINA_HOME/common/lib.  Do *not* put
> > "commons-logging.jar" in the "bin" directory, only
> "commons-logging-api.jar".
> > Do you still have the CNFE problem?  If you still do, I'm not sure what to
> say?
> >  I know this setup works fine with Tomcat-5.5.xx, which I would recommend
> moving
> > to ASAP.
> >
> > Jake
> I've moved to tomcat 5.5, I'm not sure I can stay at this version as it
> is not officially supported by commercial software we use.
>
> Still, I was hoping to work out the problem I'm having using it.
>
> With 5.5 configured as you have suggested above I get:
>
> INFO main org.apache.catalina.core.AprLifecycleListener - The Apache
> Tomcat Native library which allows optimal performance in production
> environments was not found on the java.library.path: /usr/share/tomcat/bin
>              INFO main org.apache.catalina.core.AprLifecycleListener -
> The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /usr/share/tomcat/bin
>              ERROR main org.apache.log4j.net.SyslogAppender - Attempted
> to log with inactive appender named [S].
>              INFO main org.apache.coyote.http11.Http11BaseProtocol -
> Initializing Coyote HTTP/1.1 on http-80
>              ERROR main org.apache.log4j.net.SyslogAppender - Attempted
> to log with inactive appender named [S].
>              INFO main org.apache.catalina.startup.Catalina -
> Initialization processed in 643 ms
>              INFO main org.apache.catalina.startup.Catalina -
> Initialization processed in 643 ms
>              ERROR main org.apache.log4j.net.SyslogAppender - Attempted
> to log with inactive appender named [S].
>
> -----------------
>
>
> What is meant by "inactive appender"?
>
> Thanks,
> -Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>




---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message