logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helbig, Dirk (EXTERN: HUD)" <extern.dirk.hel...@volkswagen.de>
Subject RollingFileAppender does sometimes not work
Date Fri, 29 Jul 2005 07:20:54 GMT
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

Mime
View raw message