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

Bernhard Mähr commented on LOG4J2-1392:
---------------------------------------

Tested with 2.7. Now the reason is logged.

> 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-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to