logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvarez Alvarez, Victor Manuel" <vmalva...@umh.es>
Subject RE: RollingLogFileAppender and custom remote File
Date Fri, 11 Sep 2009 11:42:03 GMT
The easiest way will be setting a URL (http://server/virtual_logs) path
instead of a physical path. The virtual directory will be configured in
the IIS with the correct path (\\RemoteServerLog\PRO\logs
<file:///\\RemoteServerLog\PRO\logs> )

But, I don't know how to do it, something like Server.Mappath that
converts the path.

 

<appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender">

      <param name="File/sink/ ??? "
value="%{Server.Mappath('http://server/virtual_logs')"/>

      

 

Any idea??

 

 

 


Mime
View raw message