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 "Remko Popma (JIRA)" <ji...@apache.org> on 2016/06/18 23:43:05 UTC

[jira] [Resolved] (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 ]

Remko Popma resolved LOG4J2-1392.
---------------------------------
       Resolution: Fixed
         Assignee: Remko Popma
    Fix Version/s: 2.6

Marking as resolved since this was fixed in LOG4J2-1368 and part of the 2.6 release. Can you try again with 2.6?

> 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