You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by David Thielen <da...@windward.net> on 2005/09/28 19:15:39 UTC

files not rolling over - debug dump

Hi;

I ran last night with log4j debugging on and got:

log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
log4j: setFile ended
log4j: Appender [tomcat] to be rolled at midnight.
log4j: Adding appender named [tomcat] to category [root].
 WARN [TP-Processor3] No configuration found. Configuring ehcache from
ehcache-failsafe.xml found in the classpath:
jar:file:/C:/Tomcat%205.5/webapps/store/WEB-INF/lib/ehcache-1.1.jar!/ehcache
-failsafe.xml - net.sf.ehcache.config.Configurator configure
log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/tomcat.log] to [C:\Tomcat
5.5/logs/tomcat.log.2005-09-27].
log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, false
log4j: setFile ended

and

log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
log4j: setFile ended
log4j: Appender [tomcat] to be rolled at midnight.
log4j: Adding appender named [tomcat] to category [root].
 WARN [TP-Processor3] No configuration found. Configuring ehcache from
ehcache-failsafe.xml found in the classpath:
jar:file:/C:/Tomcat%205.5/webapps/store/WEB-INF/lib/ehcache-1.1.jar!/ehcache
-failsafe.xml - net.sf.ehcache.config.Configurator configure
 WARN [TP-Processor3] *** WARNING: Keyword  'end' is being intepreted as an
identifier due to: expecting IDENT, found 'end' - org.hibernate.hql.PARSER
reportWarning
log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/windward.log] to [C:\Tomcat
5.5/logs/windward.log.2005-09-27].
log4j: setFile called: C:\Tomcat 5.5/logs/windward.log, false
log4j: setFile ended

Any ideas?

Again, the system has full rights in the folder and on the files and is
renaming stdout.log fine.

??? - thanks - dave


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


RE: files not rolling over - debug dump

Posted by David Thielen <da...@windward.net>.
Hello;

I used WhoLockMe (a nice little utility) and it shows that Tomcat has it
opened/locked twice. Same PID.

I have 2 webapps that are both logging - but the jar and log4j.xml are both
on ${catalina}/common/lib & classes.

Is this the problem?

Thanks - dave

 
David Thielen
www.windwardreports.com
303-499-2544
 
-----Original Message-----
From: James Stauffer [mailto:stauffer.james@gmail.com] 
Sent: Thursday, September 29, 2005 9:26 AM
To: Log4J Users List
Subject: Re: files not rolling over - debug dump

Did something else have the file open at the time?

On 9/28/05, David Thielen <da...@windward.net> wrote:
> Hi;
>
> I ran last night with log4j debugging on and got:
>
> log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
> log4j: setFile ended
> log4j: Appender [tomcat] to be rolled at midnight.
> log4j: Adding appender named [tomcat] to category [root].
>  WARN [TP-Processor3] No configuration found. Configuring ehcache from
> ehcache-failsafe.xml found in the classpath:
>
jar:file:/C:/Tomcat%205.5/webapps/store/WEB-INF/lib/ehcache-1.1.jar!/ehcache
> -failsafe.xml - net.sf.ehcache.config.Configurator configure
> log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/tomcat.log] to [C:\Tomcat
> 5.5/logs/tomcat.log.2005-09-27].
> log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, false
> log4j: setFile ended
>
> and
>
> log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
> log4j: setFile ended
> log4j: Appender [tomcat] to be rolled at midnight.
> log4j: Adding appender named [tomcat] to category [root].
>  WARN [TP-Processor3] No configuration found. Configuring ehcache from
> ehcache-failsafe.xml found in the classpath:
>
jar:file:/C:/Tomcat%205.5/webapps/store/WEB-INF/lib/ehcache-1.1.jar!/ehcache
> -failsafe.xml - net.sf.ehcache.config.Configurator configure
>  WARN [TP-Processor3] *** WARNING: Keyword  'end' is being intepreted as
an
> identifier due to: expecting IDENT, found 'end' - org.hibernate.hql.PARSER
> reportWarning
> log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/windward.log] to
[C:\Tomcat
> 5.5/logs/windward.log.2005-09-27].
> log4j: setFile called: C:\Tomcat 5.5/logs/windward.log, false
> log4j: setFile ended
>
> Any ideas?
>
> Again, the system has full rights in the folder and on the files and is
> renaming stdout.log fine.
>
> ??? - thanks - dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
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


Re: files not rolling over - debug dump

Posted by James Stauffer <st...@gmail.com>.
Did something else have the file open at the time?

On 9/28/05, David Thielen <da...@windward.net> wrote:
> Hi;
>
> I ran last night with log4j debugging on and got:
>
> log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
> log4j: setFile ended
> log4j: Appender [tomcat] to be rolled at midnight.
> log4j: Adding appender named [tomcat] to category [root].
>  WARN [TP-Processor3] No configuration found. Configuring ehcache from
> ehcache-failsafe.xml found in the classpath:
> jar:file:/C:/Tomcat%205.5/webapps/store/WEB-INF/lib/ehcache-1.1.jar!/ehcache
> -failsafe.xml - net.sf.ehcache.config.Configurator configure
> log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/tomcat.log] to [C:\Tomcat
> 5.5/logs/tomcat.log.2005-09-27].
> log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, false
> log4j: setFile ended
>
> and
>
> log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
> log4j: setFile ended
> log4j: Appender [tomcat] to be rolled at midnight.
> log4j: Adding appender named [tomcat] to category [root].
>  WARN [TP-Processor3] No configuration found. Configuring ehcache from
> ehcache-failsafe.xml found in the classpath:
> jar:file:/C:/Tomcat%205.5/webapps/store/WEB-INF/lib/ehcache-1.1.jar!/ehcache
> -failsafe.xml - net.sf.ehcache.config.Configurator configure
>  WARN [TP-Processor3] *** WARNING: Keyword  'end' is being intepreted as an
> identifier due to: expecting IDENT, found 'end' - org.hibernate.hql.PARSER
> reportWarning
> log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/windward.log] to [C:\Tomcat
> 5.5/logs/windward.log.2005-09-27].
> log4j: setFile called: C:\Tomcat 5.5/logs/windward.log, false
> log4j: setFile ended
>
> Any ideas?
>
> Again, the system has full rights in the folder and on the files and is
> renaming stdout.log fine.
>
> ??? - thanks - dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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