Not only that, I am using a static logger class that uses
XmlConfigurator.ConfigureAndWatch().

I only have the Environment.SpecialFolder.CommonApplicationData setting at
runtime. Have you got any code that fixes this on vista? I can't edit
log4net.config at design time with the new path or can I?

<file value="mylog.log" />

Is there an easy way to make it use a directory under
Environment.SpecialFolder.CommonApplicationData without recoding the log
class?

Of course I'm not sure a user can write to CommonApplicationData either.
-- 
View this message in context: 
http://www.nabble.com/No-logs-on-vista-in-program-files-tf4802432.html#a13740704
Sent from the Log4net - Users mailing list archive at Nabble.com.

Reply via email to