Wrong JBoss server.log Timestamp

I have noticed that JBoss does not always write log entries using the system timezone settings. Thus, the timestamps are shifted. You must set the following option to enforce a timezone for a java virtual machine.
-Duser.timezone=XXX

Whereas XXX is the according timezone. For example:
-Duser.timezone=CET
Advertisement