You can configure log4net to write the logs wherever you want.
For example,
<appender name="RollingFile"
type="log4net.Appender.RollingFileAppender">
<file value="logs/theapp.log" />
Note that if you use a relative path, it is relative to the application
path, or you can use a absolute path....
<appender name="RollingFile"
type="log4net.Appender.RollingFileAppender">
<file value="c:/someplace/logs/theapp.log" />
Check out the SDK
http://logging.apache.org/log4net/release/sdk/index.html
And configuration examples
http://logging.apache.org/log4net/release/config-examples.html
HTH,
Dean Fiala
-----Original Message-----
From: aus1977 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2008 4:35 AM
To: [email protected]
Subject: routnig logs files to cpecific folder
I want the log4net write logs files to cpecific folder ,not to current
application folder
--
View this message in context:
http://www.nabble.com/routnig-logs-files-to-cpecific-folder-tp16140319p16140
319.html
Sent from the Log4net - Users mailing list archive at Nabble.com.