Output using localtime() instead of gmtime(), so the times correspond to what you see in the "/var/log/messages" file.