You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Anjo Iype Joseph (Jira)" <ji...@apache.org> on 2020/11/15 07:47:00 UTC

[jira] [Created] (LOG4NET-656) ApplicationInsightsAppender not logging when method runs in await Task.Run

Anjo Iype Joseph created LOG4NET-656:
----------------------------------------

             Summary: ApplicationInsightsAppender not logging when method runs in await Task.Run
                 Key: LOG4NET-656
                 URL: https://issues.apache.org/jira/browse/LOG4NET-656
             Project: Log4net
          Issue Type: Bug
          Components: Appenders
         Environment: .Net Framework 4.5.1, Microsoft.ApplicationInsigts.Log4NetAppender 2.2.0.0
Log4Net 2.0.12.0
            Reporter: Anjo Iype Joseph


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)