RollingFileAppender
Hi Filip,I know this is an old thread but I need to do the same thing that you were trying to do here and I can't not find any examples of using the ExtendedLog4netLogger .cs classDid you use this class to do this? Even if you didn't do you have any examples of using this class? All the examples I see are the fluent registration of the LoggingFacilityAnyone that knows feel free to answer please.
Thanks!
On Friday, 3 May 2013 at 2:20 AM, OutOfTouch wrote:
Do you or anyone else know how I can do this using the ExtendedLog4NetLogger.cs?
On Tuesday, October 27, 2009 10:39:05 AM UTC-5, Filip Kinsky wrote:
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
there should be some tests that demonstrate that, no?--Krzysztof KozmicOn Friday, 3 May 2013 at 2:20 AM, OutOfTouch wrote:
Do you or anyone else know how I can do this using the ExtendedLog4NetLogger.cs?--
On Tuesday, October 27, 2009 10:39:05 AM UTC-5, Filip Kinsky wrote:I just solve the problem fortunately. The only mistake I made is in
the log4net.config file - the definition of file name parameter of
appender should not be done using <param name="File" ...>, but it
should look like this:
<file type="log4net.Util.PatternString" value="%property{LogName}" />
It just started to work when I changed the log4net.config file like
this. Nasty behaviour ;(
On 27 říj, 13:34, John Simons <johnsimons...@yahoo.com.au> wrote:
> What you should do is create your own appender derived from RollingFileAppender
>
> Cheers John
>
> On 27/10/2009, at 11:00 PM, Filip Kinsky <fi...@filovo.net> wrote:
>
> RollingFileAppender
>
> ___________________________________________________________________________ _______
> Get more done like never before with Yahoo!7 Mail.
> Learn more:http://au.overview.mail.yahoo.com/
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsub...@googlegroups.com.
there should be some tests that demonstrate that, no?--Krzysztof KozmicOn Friday, 3 May 2013 at 2:20 AM, OutOfTouch wrote:
Do you or anyone else know how I can do this using the ExtendedLog4NetLogger.cs?--
On Tuesday, October 27, 2009 10:39:05 AM UTC-5, Filip Kinsky wrote:I just solve the problem fortunately. The only mistake I made is in
the log4net.config file - the definition of file name parameter of
appender should not be done using <param name="File" ...>, but it
should look like this:
<file type="log4net.Util.PatternString" value="%property{LogName}" />
It just started to work when I changed the log4net.config file like
this. Nasty behaviour ;(
On 27 říj, 13:34, John Simons <johnsimons...@yahoo.com.au> wrote:
> What you should do is create your own appender derived from RollingFileAppender
>
> Cheers John
>
> On 27/10/2009, at 11:00 PM, Filip Kinsky <fi...@filovo.net> wrote:
>
> RollingFileAppender
>
> ___________________________________________________________________________ _______
> Get more done like never before with Yahoo!7 Mail.
> Learn more:http://au.overview.mail.yahoo.com/
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
log4net.GlobalContext.Properties[propertyName] = propertyValue; log4net.Appender.RollingFileAppender rFileAppender = new log4net.Appender.RollingFileAppender(); log4net.Config.BasicConfigurator.Configure(rFileAppender);
But I honestly don' see why I would have to use the last two lines of code when the config file already has the appenders defined, I am not sure how I would add new appender using the extended appender if I have to use those last two lines of code.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
Ok so you're saying what used to work with normal logger stopped working when you switched to extended?
Krzysztof Kozmic
sent from my phone
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsubscrib...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.