[jboss-jira] [JBoss JIRA] (LOGMGR-129) Create a better error message if the time zone argument is missing from the %z format pattern
James Perkins (JIRA)
issues at jboss.org
Fri Aug 18 12:33:00 EDT 2017
[ https://issues.jboss.org/browse/LOGMGR-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451521#comment-13451521 ]
James Perkins commented on LOGMGR-129:
--------------------------------------
We may need to considering reworking the date format in general. However it does make sense order may matter in this specific case.
> 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
> Assignee: Bartosz Spyrko-Śmietanko
>
> 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.2.3#72005)
More information about the jboss-jira
mailing list