[jira] [Commented] (LOG4J2-3471) log4j-1.2-api 2.17.2 throws NullPointerException while removing appender with name as null

2022-04-07 Thread Rajesh (Jira)


[ 
https://issues.apache.org/jira/browse/LOG4J2-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17519318#comment-17519318
 ] 

Rajesh commented on LOG4J2-3471:


[~ggregory] Thanks for the quick fix.

> log4j-1.2-api 2.17.2 throws NullPointerException while removing appender with 
> name as null
> --
>
> Key: LOG4J2-3471
> URL: https://issues.apache.org/jira/browse/LOG4J2-3471
> Project: Log4j 2
>  Issue Type: Bug
>Affects Versions: 2.17.2
>Reporter: Rajesh
>Assignee: Gary D. Gregory
>Priority: Major
> Fix For: 2.17.3
>
>
> The log4j 1.2 bridge for 2.17.2 throws null pointer exception while removing 
> Null appender
> viz. org.apache.log4j.varia.NullAppender 
> The class AppenderAttachableImpl adds the null appender to the 
> concurrenthashmap as "null" and on removal there is no check for null and 
> removes the nullappender with name null hence the NullPointerexception.
> Caused by: java.lang.NullPointerException
> at java.util.concurrent.ConcurrentHashMap.remove(Unknown Source)
> at 
> org.apache.log4j.helpers.AppenderAttachableImpl.removeAppender(AppenderAttachableImpl.java:93)
> at org.apache.log4j.Category.removeAppender(Category.java:618)



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


[jira] [Created] (LOG4J2-3471) log4j-1.2-api-2.17.2 throws exception while removing appender with name as null

2022-04-07 Thread Rajesh (Jira)
Rajesh created LOG4J2-3471:
--

 Summary: log4j-1.2-api-2.17.2 throws exception while removing 
appender with name as null
 Key: LOG4J2-3471
 URL: https://issues.apache.org/jira/browse/LOG4J2-3471
 Project: Log4j 2
  Issue Type: Bug
Affects Versions: 2.17.2
Reporter: Rajesh


The log4j 1.2 bridge for 2.17.2 throws null pointer exception while removing 
Null appender

viz. org.apache.log4j.varia.NullAppender 

The class AppenderAttachableImpl adds the null appender to the 
concurrenthashmap as "null" and on removal there is no check for null and 
removes the nullappender with name null hence the NullPointerexception.

Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.remove(Unknown Source)
at 
org.apache.log4j.helpers.AppenderAttachableImpl.removeAppender(AppenderAttachableImpl.java:93)
at org.apache.log4j.Category.removeAppender(Category.java:618)



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


[jira] [Commented] (LOGCXX-511) C# - Log4Net Log not logging properly Asynchronous method

2020-06-26 Thread Rajesh (Jira)


[ 
https://issues.apache.org/jira/browse/LOGCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17146372#comment-17146372
 ] 

Rajesh commented on LOGCXX-511:
---

Thank you so much "[~mattsicker]. I have sent mail to 
dev-subscr...@logging.apache.org" group.

> C# - Log4Net Log not logging properly Asynchronous method 
> --
>
> Key: LOGCXX-511
> URL: https://issues.apache.org/jira/browse/LOGCXX-511
> Project: Log4cxx
>  Issue Type: Bug
>Reporter: Rajesh
>Priority: Critical
> Attachments: Log4NetAsynchronous.zip
>
>
> 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.



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


[jira] [Commented] (LOGCXX-511) C# - Log4Net Log not logging properly Asynchronous method

2020-06-25 Thread Rajesh (Jira)


[ 
https://issues.apache.org/jira/browse/LOGCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17145741#comment-17145741
 ] 

Rajesh commented on LOGCXX-511:
---

Yes I'm interested. Kindly help on this. How to join developer mailing list.

> C# - Log4Net Log not logging properly Asynchronous method 
> --
>
> Key: LOGCXX-511
> URL: https://issues.apache.org/jira/browse/LOGCXX-511
> Project: Log4cxx
>  Issue Type: Bug
>Reporter: Rajesh
>Priority: Critical
> Attachments: Log4NetAsynchronous.zip
>
>
> 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.



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


[jira] [Commented] (LOGCXX-511) C# - Log4Net Log not logging properly Asynchronous method

2020-06-25 Thread Rajesh (Jira)


[ 
https://issues.apache.org/jira/browse/LOGCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17145695#comment-17145695
 ] 

Rajesh commented on LOGCXX-511:
---

Thank you so much for quick response.

I can't create the bug under the Log4Net. Kindly help on this.

Or Kindly move this bug to under the Log4Net and share me the ref number. 

> C# - Log4Net Log not logging properly Asynchronous method 
> --
>
> Key: LOGCXX-511
> URL: https://issues.apache.org/jira/browse/LOGCXX-511
> Project: Log4cxx
>  Issue Type: Bug
>Reporter: Rajesh
>Priority: Critical
> Attachments: Log4NetAsynchronous.zip
>
>
> 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.



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


[jira] [Updated] (LOGCXX-511) C# - Log4Net Log not logging properly Asynchronous method

2020-06-25 Thread Rajesh (Jira)


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

Rajesh updated LOGCXX-511:
--
Attachment: Log4NetAsynchronous.zip

> C# - Log4Net Log not logging properly Asynchronous method 
> --
>
> Key: LOGCXX-511
> URL: https://issues.apache.org/jira/browse/LOGCXX-511
> Project: Log4cxx
>  Issue Type: Bug
>Reporter: Rajesh
>Priority: Critical
> Attachments: Log4NetAsynchronous.zip
>
>
> 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.



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


[jira] [Created] (LOGCXX-511) C# - Log4Net Log not logging properly Asynchronous method

2020-06-25 Thread Rajesh (Jira)
Rajesh created LOGCXX-511:
-

 Summary: C# - Log4Net Log not logging properly Asynchronous method 
 Key: LOGCXX-511
 URL: https://issues.apache.org/jira/browse/LOGCXX-511
 Project: Log4cxx
  Issue Type: Bug
Reporter: Rajesh


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.



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