logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganapatiraju, Shiva \(OCFS\)" <Shiva.Ganapatir...@ocfs.state.ny.us>
Subject RE: Logging of the errors
Date Thu, 06 Apr 2006 12:49:52 GMT
Hi Mathew,
We decided to write to c:\\temp on the Server.
thank you and appreicate your  reply.
 
With warm regards,
Shiva

Shiva Ganapatiraju 
Developer - SSOP , NYS - OCFS
518-473-7785  (Albany) : 
AD0149@dfa.state.ny.us <mailto:AD0149@dfa.state.ny.us>  
Check out our Engagement Dashboard 
http://sdssnet5/ocfs/admin/ofm/rsu 

 

________________________________

From: Matthew Brown [mailto:octavius@gmail.com] 
Sent: Thursday, April 06, 2006 8:47 AM
To: Log4NET User
Subject: 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)
<Shiva.Ganapatiraju@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
<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. 
	



Mime
View raw message