[jboss-jira] [JBoss JIRA] (LOGMGR-129) Create a better error message if the time zone argument is missing from the %z format pattern
Bartosz Spyrko-Śmietanko (JIRA)
issues at jboss.org
Mon Jan 8 04:50:00 EST 2018
[ https://issues.jboss.org/browse/LOGMGR-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bartosz Spyrko-Śmietanko reassigned LOGMGR-129:
-----------------------------------------------
Assignee: (was: Bartosz Spyrko-Śmietanko)
> Create a better error message if the time zone argument is missing from the %z format pattern
> ---------------------------------------------------------------------------------------------
>
> Key: LOGMGR-129
> URL: https://issues.jboss.org/browse/LOGMGR-129
> Project: JBoss Log Manager
> Issue Type: Task
> Reporter: James Perkins
>
> Using the {{%z}} format pattern and not including a time zone argument results in an NPE. A better error message should be thrown indicating an argument is required.
> {code:title=Example pattern}
> %z{GMT}
> {code}
> A bonus would be to possibly add a warning, once only though, if the time {{%d}} was processed before the time zone {{%z}}.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list