logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Mähr (JIRA) <j...@apache.org>
Subject [jira] [Closed] (LOG4J2-1392) PluginBuilder.build() looses reason for error
Date Tue, 08 Nov 2016 13:35:58 GMT

     [ 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


Mime
View raw message