]
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}}.