You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Bernhard Mähr (JIRA)" <ji...@apache.org> on 2016/05/24 09:17:13 UTC

[jira] [Created] (LOG4J2-1392) PluginBuilder.build() looses reason for error

Bernhard Mähr created LOG4J2-1392:
-------------------------------------

             Summary: PluginBuilder.build() looses reason for error
                 Key: LOG4J2-1392
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1392
             Project: Log4j 2
          Issue Type: Improvement
            Reporter: Bernhard Mähr


When doing an error in configurating for a plugin an IllegalStateException is produced (e.g. RollingFileAppender without a date pattern in filePattern). 

The IllegalStateException contains in the error message the reason for the exception ('Pattern does not contain a date'), but this information gets lost in PluginBuilder.build() and is also never logged, even on trace level in configuration. 



--
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