[ 
https://issues.apache.org/jira/browse/LOG4NET-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yesto Fringen updated LOG4NET-684:
----------------------------------
    Description: 
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.

 
{code:java}
ThreadContext.Properties["ipAddress"] = 
Utility.Helpers.General.GetIpAddressFromHttpRequest(); {code}
 

We use asp.net core 3.1.

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

 

  was:
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.

 


> 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
>            Priority: Critical
>
> 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.
>  
> {code:java}
> ThreadContext.Properties["ipAddress"] = 
> Utility.Helpers.General.GetIpAddressFromHttpRequest(); {code}
>  
> 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)

Reply via email to