locked
C# - Log4Net Log not logging properly Asynchronous method RRS feed

  • Question

  • 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.

    • Moved by CoolDadTx Wednesday, June 24, 2020 4:02 PM Third Party Product
    Wednesday, June 24, 2020 3:23 PM

All replies

  • This forum is for C#-specific questions only. Questions related to third party libraries like log4net should be posted in their forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Wednesday, June 24, 2020 4:02 PM
  • Thank you so much for response.
    Thursday, June 25, 2020 5:54 PM