You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Nicko Cadell <ni...@neoworks.com> on 2005/08/14 23:44:40 UTC

RE: RollingFileAppender does sometimes not work

Dirk,

This is now fixed in CVS and tracked as part of issue:
http://issues.apache.org/jira/browse/LOG4NET-25

Thanks,
Nicko 

> -----Original Message-----
> From: Helbig, Dirk (EXTERN: HUD) 
> [mailto:extern.dirk.helbig@volkswagen.de] 
> Sent: 29 July 2005 08:21
> To: 'Log4NET User'
> Subject: RollingFileAppender does sometimes not work
> 
> Hi,
> 
> I have the latest version of log4net from cvs, but the 
> RollingFileAppender does sometimes not roll the logfiles.
> Here is the debug-log:
> log4net: RollingFileAppender: Moving
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-trace.txt] -> 
> [..\\LogFiles\\cc5-trace.txt.20050728]
> log4net:ERROR [RollingFileAppender] Exception while rolling 
> file 
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-trace.txt] -> 
> [..\\LogFiles\\cc5-trace.txt.20050728]
> System.IO.DirectoryNotFoundException: Ein Teil des Pfades
> ..\\LogFiles\\cc5-trace.txt.20050728 konnte nicht gefunden werden.
>    at System.IO.__Error.WinIOError(Int32 errorCode, String str)
>    at System.IO.File.Move(String sourceFileName, String destFileName)
>    at log4net.Appender.RollingFileAppender.RollFile(String 
> fromFile, String
> toFile)
> log4net: FileAppender: Opening file for writing 
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-trace.txt] 
> append [False]
> log4net: RollingFileAppender: Moving
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-error.txt] -> 
> [..\\LogFiles\\cc5-error.txt.20050728]
> log4net:ERROR [RollingFileAppender] Exception while rolling 
> file 
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-error.txt] -> 
> [..\\LogFiles\\cc5-error.txt.20050728]
> System.IO.DirectoryNotFoundException: Ein Teil des Pfades
> ..\\LogFiles\\cc5-error.txt.20050728 konnte nicht gefunden werden.
>    at System.IO.__Error.WinIOError(Int32 errorCode, String str)
>    at System.IO.File.Move(String sourceFileName, String destFileName)
>    at log4net.Appender.RollingFileAppender.RollFile(String 
> fromFile, String
> toFile)
> log4net: FileAppender: Opening file for writing 
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-error.txt] 
> append [False]
> log4net: RollingFileAppender: Moving
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-info.txt] -> 
> [..\\LogFiles\\cc5-info.txt.20050728]
> log4net:ERROR [RollingFileAppender] Exception while rolling 
> file [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-info.txt] 
> -> [..\\LogFiles\\cc5-info.txt.20050728]
> System.IO.DirectoryNotFoundException: Ein Teil des Pfades
> ..\\LogFiles\\cc5-info.txt.20050728 konnte nicht gefunden werden.
>    at System.IO.__Error.WinIOError(Int32 errorCode, String str)
>    at System.IO.File.Move(String sourceFileName, String destFileName)
>    at log4net.Appender.RollingFileAppender.RollFile(String 
> fromFile, String
> toFile)
> log4net: FileAppender: Opening file for writing 
> [D:\Projekte\CarConfigurators\CC5\LogFiles\cc5-info.txt] 
> append [False]
> log4net: Hierarchy: Shutdown called on Hierarchy 
> [log4net-default-repository]
> 
> I have an ASP.NET-application with .NET 1.1 SP 1
> 
> I hope you could fix the bug as soon as possible.
> 
> Thanks, Dirk
> 
>