Raghuram, Why build a wrapper class? It sounds like log4net will do what you're asking out of the box. Are there more requirements?
To speak to your second question about configuring the location of the log file: yes, you can specify an external log config. There was a thread on that not too long ago; you can find it here: http://www.mail-archive.com/[email protected]/msg05040.html That should hopefully give you a few ideas. -Ross On Fri, Aug 14, 2009 at 9:58 AM, <[email protected]> wrote: > Hi, > > > > I have two or more different applications in which I need to log my > exceptions to the log file, and by using the Log4Net framework. > > Each application has its own logging settings. > > The requirement is such that to build a rapper class for log4Net and use > the framework and use the .Config file with respect to the Application. > > > > Can you please send me the following information. > > · Do you have any rapper class ready. > > · Can we place the .config file in a separate folder and how to > access it. > > > > Thanks in advance. > > > > Thanks & Regards, > > *Raghuram Raichooti* > * > ________________________________________________________________________________________________________________ > * > Mobile: +91 98661 83441 | MSN: [email protected] | AIM: raghuraichooti > > > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the email by you is prohibited. >
