Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-656

ApplicationInsightsAppender not logging when method runs in await Task.Run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Do
    • None
    • None
    • Appenders
    • None
    • .Net Framework 4.5.1, Microsoft.ApplicationInsigts.Log4NetAppender 2.2.0.0
      Log4Net 2.0.12.0
    • Patch

    Description

      I tried to call log4net info inside a method that runs within a await Task.Run method. None of the logs inside that method is getting logged in Application insights. I have a file logger attached where all logs are getting logged.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anjoiype Anjo Iype Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified