logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pablo Rodrigo" <mab...@gmail.com>
Subject Re: Error: Unable to find the specified file (RollingLogFileAppender)
Date Tue, 18 Jul 2006 11:55:02 GMT
Loocking the .dll file, shows me 1.1.1.33753

On 7/18/06, Nicko Cadell <nicko@neoworks.com> wrote:
>
> Pablo,
>
> Which version of log4net are you using?
>
> Cheers,
> Nicko
>
> > -----Original Message-----
> > From: Pablo Rodrigo [mailto:mablao@gmail.com]
> > Sent: 18 July 2006 12:28
> > To: log4net-user@logging.apache.org
> > Subject: Error: Unable to find the specified file
> > (RollingLogFileAppender)
> >
> > Hi,
> > After a long time processing, the log4net fail on writing the
> > log file.
> > Here it is the error:
> >
> > Exception Information
> > System.IO.FileNotFoundException: Unable to find the specified file.
> >    at System.IO.__Error.WinIOError(Int32 errorCode, String str)
> >    at System.IO.__Error.WinIOError()
> >    at System.IO.FileInfo.MoveTo (String destFileName)
> >    at log4net.Appender.RollingFileAppender.RollFile(String
> > from, String to)
> >    at log4net.Appender.RollingFileAppender.RollOverSize()
> >    at
> > log4net.Appender.RollingFileAppender.SubAppend(LoggingEvent
> > loggingEvent)
> >    at log4net.Appender.TextWriterAppender.Append(LoggingEvent
> > loggingEvent)
> >    at log4net.Appender.AppenderSkeleton.DoAppend(LoggingEvent
> > loggingEvent)
> >    at
> > log4net.helpers.AppenderAttachedImpl.AppendLoopOnAppenders
> > (LoggingEvent loggingEvent)
> >    at log4net.Category.CallAppenders(LoggingEvent loggingEvent)
> >    at log4net.Category.Log(Priority priority, Object message)
> >    at log4net.Category.Info(Object message)
> >    at
> > Cit.Projects.Globo.Agra.InfraStructure.Logger.Logger.logInfo
> > (String message) ...
> > ...
> >
> > Configurations:
> > <log4net>
> >  <appender name="RollingLogFileAppender"
> > type="log4net.Appender.RollingFileAppender,log4net">
> >        <param name="File" value="E:/agra2/log/loggerdecae.log" />
> >        <param name="AppendToFile" value="true" />
> >        <param name="MaxSizeRollBackups" value="20" />
> >        <param name="MaximumFileSize" value="100MB" />
> >        <param name="RollingStyle" value="Size" />
> >        <param name="StaticLogFileName" value="true" />
> >        <layout type="log4net.Layout.PatternLayout ,log4net">
> >     <param name="ConversionPattern" value="[&lt;%-5p&gt;
> > %d{dd/MM/yyyy HH:mm:ss:fff}]: %m%n" />
> >        </layout>
> >  </appender>
> >  <root>
> >   <priority value="DEBUG" />
> >  </root>
> >  <category name="Cit.Projects.Globo.Agra">
> >     <appender-ref ref="RollingLogFileAppender" />  </category>
> >   </log4net>
> >
> > Anyone pass through the same problem ?
> >
> > Thanks
> >
>

Mime
View raw message