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/15 00:27:33 UTC
RE: RollingFileAppender - Questions are not answered
Saurabh,
Can you try to specify the file property of the RollingFileAppender as a
fully qualified path, e.g.
<appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender">
<file value="c:\Logs\l4net.log" />
...
</appender>
If the RollingFileAppender works with a fully qualified path, but not
with a relative path then this is a bug in log4net. This should now be
fixed in CVS and tracked under issues:
http://issues.apache.org/jira/browse/LOG4NET-25
http://issues.apache.org/jira/browse/LOG4NET-41
Cheers,
Nicko
> -----Original Message-----
> From: Saurabh Dani [mailto:saurabh@danicorp.com]
> Sent: 13 August 2005 22:09
> To: Nicko Cadell
> Subject: RollingFileAppender - Questions are not answered
>
> Hello Nicko,
>
> Few people including myself have recently asked questions
> about not being able to roll the Rolling File Appender. I
> have not seen you responding to those questions.
> I understand you are not required to answer them, but some
> other have responded that this may be a bug in log4net which
> has left us in confusion if its a bug in log4net or our
> configuration error. So if you can confirm or deny, it would
> really be a great help to all of us.
>
> Thanks
> Saurabh
>
>