JBoss EAP 6 shows Wrong date on logger time stamps in logs.
Issue
- The logger is writing wrong date into logs. The time stamps has date shifted in advance by exactly 1 year. Checking system time with a simple java program:
[root@lgemk610dcc001 ~]# java -cp . DateDemo
Current Date/Time : Tue Dec 29 11:42:43 CET 2015
on the same system the logger reports correct time but 2016 year instead of 2015:
[Host Controller] 2016/12/29 11:44:28,457 INFO [org.jboss.as.domain] (slave-request-threads - 2) JBAS010918: Registered remote slave host "lgemkl06hcc001hc", JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
