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) :

[EMAIL PROTECTED]
Check out our Engagement Dashboard
http://sdssnet5/ocfs/admin/ofm/rsu

 

With warm regards,
Shiva


Shiva Ganapatiraju

Developer – SSOP , NYS - OCFS
518-473-7785  (Albany) :

[EMAIL PROTECTED]
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.



From: Matthew Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 8:50 AM
To: Log4NET User; [EMAIL PROTECTED]
Subject: Re: Loggin to multiple appenders

I believe the proper way to do this is to add a filter to each appender to filter based on level, and then attach both appenders to the root logger

http://logging.apache.org/log4net/release/manual/configuration.html#filters

<root>
    <level value="ALL" />
    <appender-ref ref="FileAppender" />
    <appender-ref ref="DBAppender" />
</root>

On 4/6/06, Saurabh Dani <[EMAIL PROTECTED]> wrote:

Greetings All,

Is it possible to write to more than one appenders? In the FAQs I read that it is possible to do so, but could not find an example.

I would like to write the debug logs to a fileappender (if debug logging is turned on), and info logs to a database. Is this possible with log4net?

Thanks
Saurabh



Reply via email to