You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Yesto Fringen (Jira)" <ji...@apache.org> on 2022/01/26 09:51:00 UTC

[jira] [Created] (LOG4NET-684) Log4Net logs incorrect data

Yesto Fringen created LOG4NET-684:
-------------------------------------

             Summary: Log4Net logs incorrect data
                 Key: LOG4NET-684
                 URL: https://issues.apache.org/jira/browse/LOG4NET-684
             Project: Log4net
          Issue Type: Bug
         Environment: asp.net core 3.1
            Reporter: Yesto Fringen


When two log have requested at near times, extra informations can be overwritten.

For Ex: we store ip addresses and wrong ip address can be written in logs.

ThreadContext.Properties["ipAddress"] = Utility.Helpers.General.GetIpAddressFromHttpRequest();

We use asp.net core 3.1.

I have tried GlobalContext, ThreadContext and LogicalThreadContext, nothing changed.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)