Logging for selected Log levels

2006-04-06 Thread Meera Rajaram
Is it possible to explicitly turn logging on for Debug, Warn and Fatal messages. In other words only the specified log levels should be recorded and no other messages like Info and Error should be recorded? Currently in the log4Net examples it allows to specify just one loglevel (ie either

RE: Loggin to multiple appenders

2006-04-06 Thread Ganapatiraju, Shiva \(OCFS\)
Hi Mathew, We decided to write to c:\\temp on the Server. thank you and appreicate your  reply.   With warm regards,ShivaShiva Ganapatiraju Developer – SSOP , NYS - OCFS518-473-7785  (Albany) : [EMAIL PROTECTED] Check out our Engagement Dashboard http://sdssnet5/ocfs/admin/ofm/rsu   W

RE: Logging of the errors

2006-04-06 Thread Ganapatiraju, Shiva \(OCFS\)
Hi Mathew, We decided to write to c:\\temp on the Server. thank you and appreicate your  reply.   With warm regards,ShivaShiva Ganapatiraju Developer – SSOP , NYS - OCFS518-473-7785  (Albany) : [EMAIL PROTECTED] Check out our Engagement Dashboard http://sdssnet5/ocfs/admin/ofm/rsu   Fro

Re: Loggin to multiple appenders

2006-04-06 Thread Matthew Brown
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            On 4/6/06, Saurabh Dani <[EMAIL PROTECTED]> wrote: Greetings

Re: Logging of the errors

2006-04-06 Thread Matthew Brown
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) <[EMAI

Loggin to multiple appenders

2006-04-06 Thread Saurabh Dani
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?Tha