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/11/08 13:35:58 UTC

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

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

Bernhard Mähr closed LOG4J2-1392.
---------------------------------

> 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
>            Assignee: Remko Popma
>             Fix For: 2.6
>
>
> 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