tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: commons-logging not working [was log4j not working]
Date Thu, 05 Jun 2003 16:36:28 GMT

You are using commons-logging and not log4j directly.  Please don't state 
that log4j isn't working when you aren't using it directly.  I don't have 
the slightest clue of how to get your commons-logging config working, but 
one fix is to dump commons-logging and use log4j directly.  You will have 
far fewer problems.  See .


At 09:54 AM 6/5/2003 +0200, you wrote:
>Hi all,
>I'm trying to use the Log4J package in my webapplication.
>Therefore I placed the file in WEB-INF/classes which
>looks like this:
>log4j.rootLogger = DEBUG, stdout, rolling
>log4j.appender.stdout = ConsoleAppender
>log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
>log4j.appender.rolling.layout.ConversionPattern=%d{ABSOLUTE} - %p %c -
>I also have a file which contains:
>(B.t.w. I also tried to remove this file (
>which has affect).
>In my Actions I have code like this:
>Log log = LogFactory.getLog(BasicAction.class);
>if (log.isInfoEnabled()) {
>"Log test!");
>I'm using JBoss with integrated Tomcat 4.1 (on linux). In the JBoss log I
>09:51:52,853 INFO  [OrdermanagerBaseAction] OrderManagerBaseAction called!
>But, nothing appears in /var/ordermanager/log/ordermanager.log
>Permissions, etc are all okay....
>What could be wrong here?
>Many thanks,
>Harm de Laat
>The Netherlands
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message