aspose file tools*
The moose likes JBoss/WildFly and the fly likes Difference in time between server.log and system time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Difference in time between server.log and system time" Watch "Difference in time between server.log and system time" New topic
Author

Difference in time between server.log and system time

Avin Saraf
Greenhorn

Joined: Jan 05, 2012
Posts: 1
I observed that my system (opensuse linux) was in a timezone GMT. In server.log of JBOSS the entires showed me date with a time lag of 5hrs for any current activity. I restarted my jboss but still the logs entry showed me 5hrs time delay.I then changed my timezone to EST and then back to GMT and restarted the JBOSS. This time the entries got corrected to OS time. Can anyone tell me reason behind this? Can the solution can be achieved without restarting the JBOSS?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Also posted at: http://community.jboss.org/message/645027#645027

I simple search for jboss linux timezone would have yielded this prior discussion:
http://www.coderanch.com/t/432154/JBoss/set-timezone-Jboss-server


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference in time between server.log and system time
 
Similar Threads
stop server.log getting clearedoff on restarts
GMT
To extract the timezone from the system
java.util.date time is different than the system time
How to get System Timezone?