You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Matthew Brown <oc...@gmail.com> on 2006/04/06 14:47:03 UTC

Re: Logging of the errors

Does RollingFileAppender support writing files through http? I doubt that it
does. You should configure your RollingLogFileAppender to point to a
directory (with c:\blah\blah) syntax or look into using a network-aware
appender like RemotingAppender, etc.

On 4/5/06, Ganapatiraju, Shiva (OCFS) <Sh...@ocfs.state.ny.us>
wrote:
>
> Hi Ron,
> I want to log into my LocalHost  for errors. But does not seem to do
> that.
>
> <appender name="RollingLogFileAppender"
> type="log4net.Appender.RollingFileAppender,log4net">
>       <param name="File" value="http://Localhost/SSOPAppLog.txt" />
>       <param name="AppendToFile" value="true" />
>       <param name="MaxSizeRollBackups" value="10" />
>       <param name="MaximumFileSize" value="5MB" />
>       <param name="RollingStyle" value="Size" />
>       <param name="StaticLogFileName" value="true" />
>       <layout type="log4net.Layout.PatternLayout,log4net">
>         <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] -
> %m%n" />
>       </layout>
>     </appender>
>
> Any help is appreciated.
>
> With warm regards,
> Shiva
>
> Shiva Ganapatiraju
> Developer - SSOP , NYS - OCFS
> 518-473-7785  (Albany) :
> AD0149@dfa.state.ny.us
> Check out our Engagement Dashboard
> http://sdssnet5/ocfs/admin/ofm/rsu
> --------------------------------------------------------
> This communication, together with any attachments hereto or links
> contained herein, is for the sole use of the intended recipient(s) and may
> contain information that is confidential, privileged, or legally protected,
> and as such is not a public document.  If you are not the intended
> recipient, you are hereby notified that any review, disclosure, copying,
> dissemination, distribution or use of this communication is STRICTLY
> PROHIBITED. If you have received this communication in error, please notify
> the sender immediately by return e-mail message and delete the original and
> all copies of the communication, along with any attachments hereto or links
> herein, from your system.
>