just to add in: I do not want to do Console.SetOut () to redirect the exceptions to a file....
I want to catch the exceptions which is thrown by log4net. Is there a way by which i can catch he exceptions thrown by log4net...as i found whenever the exception is raised log4net itself is catching it and sending an error stream to standard console. Is there a way i can avoid this thing...so that the exceptions will be catched in my application which is calling log4net functions internally Please let me know this Thanks Shaily >>> [EMAIL PROTECTED] 9/14/2004 10:48:00 AM >>> I am using log4net to log events (Error , Warning , Info and Debug)to RollingFileAppender, Syslog etc.. Currently if any error or warning occurs during the working of log4net it throws exceptions which it write to console as log4net:Error <exception> or log4net.Warn <exception> My requirement is like this: Whenever any exception(Error , Warning or Info) is raised during the working of log4net . it should write the exception in file instead of writing it to Console. How can i achieve this. What should i do to catch the exceptions which is thrown by log4net environment. Environment: Suse 8.2 Log4Net 120 Beta 8 mono Thanks Shaily
