logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-992) ThrowableProxy throws NoClassDefFoundError (v2.2)
Date Thu, 09 Apr 2015 04:41:13 GMT

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

Ralph Goers commented on LOG4J2-992:
------------------------------------

My suggestion would be to change the catch(ClassNotFoundException) to catch(Throwable) and
always return null.

> ThrowableProxy throws NoClassDefFoundError (v2.2)
> -------------------------------------------------
>
>                 Key: LOG4J2-992
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-992
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2
>         Environment: IBM J9 VM
>            Reporter: CEM DAYANIK
>
> Might be considred as duplicate of LOG4J2-834.
> log4j2 classes tries to load classes which makes "static" blocks to run.
> Out pattern is the following:
> [%d] [%-5p] [%t] [%c] - %m%n
> How can we avoid this one for now?
> According to docs, there is not any info there related to "location info"?
> Isnt this supposed to happen at least when log4j2 tries to get information about location
info?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message