[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 Apr 11 05:20:00 EDT 2016


     [ https://issues.jboss.org/browse/LOGMGR-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bartosz Spyrko-Śmietanko reassigned LOGMGR-129:
-----------------------------------------------

    Assignee: 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
>            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
(v6.4.11#64026)



More information about the jboss-jira mailing list