C# - Log4Net Log not logging properly Asynchronous method

  • Thread starter Thread starter RajeshBalakrishnan
  • Start date Start date
R

RajeshBalakrishnan

Guest
We are using log4net in our application. The real problem is the log messages not properly logged in Asynchronous method.

We have two applications First one is Console Application and another one is a .Net Web API.

We use Asynchronous logic in Console application. We are calling API service in that Console application through Asynchronous method. Log4net implemented in that API application also.

We have logged all the requests in that API service, but sometimes the log was not properly logged or skipped in the log file.

Ex: The Console application calling 1000 times in that API service. But the API service not writing all the requests, skipped 10 or 20 requests.

Any one please do the help.

Continue reading...
 
Back
Top