]
James Perkins commented on LOGMGR-122:
--------------------------------------
Thanks for finding this! I've released a 2.0.1.Final version which is compatible with
WildFly 9 so you could just replace the module.
Syslog handler is not generating correct timestamp format
---------------------------------------------------------
Key: LOGMGR-122
URL:
https://issues.jboss.org/browse/LOGMGR-122
Project: JBoss Log Manager
Issue Type: Bug
Affects Versions: 2.0.0.Final
Environment: Wildfly 9.0.1.Final, Oracle JRE 1.8.0_11, CentOS 6
Reporter: Ricardo Kagawa
Assignee: James Perkins
Fix For: 1.4.4.Final, 1.5.5.Final, 2.0.1.Final, 2.1.0.Beta1
The Syslog handler is outputting an extra zero before the month in the header timestamp
for RFC5424, specifically for October.
Checking
[
Github|https://github.com/jboss-logging/jboss-logmanager/blob/master/src/...],
I have noticed that the month number is tested for double digit before being offset, so a
zero is added for October (month 9 for java.util.Calendar), then offset for proper display
(month "10" for ISO8601), resulting in a three-digit month ("010").