Skip to content

Log4Net web app call issue

Sanjay Sharma

Asked May 23, 2018, 1:26 AM EDT1 answer
Share
LinkedInX
I have created dedicate project to log error / info using log4net.
 
I have given ref of this shared prject 
 
1. I tested this from consloe it works 
2. from web app this not work.
 
Anythig I am missing. 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I got it no issues.
     
    Web app required.  below line
       log4net.Config.XmlConfigurator.Configure();  
     
    in Application_Start 
    0