Re: How to specify a log output folder in RollingFileAppender

2014-08-02 Thread Shing Hing Man
I have not decided where to put my logs yet -   within the project folder or outside.  Thanks for the advice! Shing On Saturday, 2 August 2014, 21:15, d_k wrote: You should probably reconsider having your program require administrator privileges just to write the log to the C: drive. Pe

Re: How to specify a log output folder in RollingFileAppender

2014-08-02 Thread d_k
You should probably reconsider having your program require administrator privileges just to write the log to the C: drive. Perhaps a sub directory on the C: drive should be good enough? Or the application's own directory? Also, if your program generates a lot of logs you should probably write them

Re: How to specify a log output folder in RollingFileAppender

2014-08-02 Thread Shing Hing Man
Hi,   Running VS as administrator allows me to output the log to C:\. Thanks! Shing On Saturday, 2 August 2014, 20:28, d_k wrote: In order to write to the C: drive your application should run as an administrator. Run it as an Administrator and see if it helps. You can also configure

Re: How to specify a log output folder in RollingFileAppender

2014-08-02 Thread d_k
In order to write to the C: drive your application should run as an administrator. Run it as an Administrator and see if it helps. You can also configure log4net internal logging to see why it fails or download the source and attach it. To enable the internal logging add the following to your app