If your programme can write to the local file system but not to a mapped
drive then it sounds like you are having permissions related issues.
Probably the best bet is to enable internal logging which will show you
any errors.

http://logging.apache.org/log4net/release/manual/faq.html#internalDebug 
 

Nicko

> -----Original Message-----
> From: Cheng [mailto:[EMAIL PROTECTED] 
> Sent: 04 August 2004 17:40
> To: Log4NET User
> Subject: Can"t write to a network drive
> 
>  I am using the log4net"s FileAppender. It is perfectly fine 
> when the logfile  is set to a directory in the local hard 
> drive. However if the logfile is in  a mapped network drive, 
> log4net refuses to log anything and there is not any  error 
> message either. Is there any way to solve it?
>  
>  Here is the config for lcoal drive d:\
>  <param name="File" value="d:\\logfiles\\Log.txt" /> it is 
> working fine.
>  
>  here is config for a mapped network drive U:\ <param name="File"
>  value="U:\\logfiles\\Log.txt" /> which doesn"t work.
>  
>  Thanks
> 

Reply via email to