Hi Krzysztof,

I know you are a busy guy, I tried what you suggested in your answer to my 
question on stack over 
flow 
http://stackoverflow.com/questions/16343145/how-to-use-extendedlog4netlogger-cs-to-set-logfile-path-for-appender-at-runtime
the problem is the log file is never created and I don't get any runtime 
exception. I am not sure if it is because configuration happens before the 
property is set or what I am stumped.

On Thursday, May 2, 2013 5:01:41 PM UTC-5, Krzysztof Koźmic wrote:
>
> there should be some tests that demonstrate that, no?
>
> -- 
> Krzysztof Kozmic
>
> 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:
>
> 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 <[email protected]> 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 <[email protected]> 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 [email protected] <javascript:>.
> To post to this group, send email to 
> [email protected]<javascript:>
> .
> 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 [email protected].
To post to this group, send email to [email protected].
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.


Reply via email to