Hi mates
I'm developing a custom SharePoint solution which consist of a feature and a timer job (which is created by the feature in FeatureActivated). In my solution I want to use log4net for logging (I know about ULS).
Everything is fine with log4net in the feature itself (just placed log4net.config near web.config and all is fine), but I have completely no idea how to initialize log4net from timer job (taking into account it is run not by IIS but by OSWTIMER).
Can someone please help me finding answers for the questions:
- Where to store log4net.config and how pass it to the job?
- Do I need to initialize log4net each time Execute() method is called?
Thanks!