Apache application and logs are showing the wrong time zone

Solution Unverified - Updated -

Issue

  • Apache gets the wrong timezone. The system time as well as the time of the /var/log/messages file is correct but still apache log files showing wrong time zone.
# date
Thu Oct 23 15:03:15 CEST 2014
# tail -f /var/log/httpd/ssl_access_log
localhost -  [23/Oct/2014:08:03:21 -0500] "GET /foo HTTP/1.1" 200 43
# tail -f /var/log/messages
Oct 23 15:03:40 localhost ido2db: IDO2DB proxy stats (p=0x26076a0): left=642 bytes, right=0 bytes; iostats=367921955 bytes
  • What could be the cause of the issue ?

Environment

  • RedHat Enterprise Linux (RHEL)
    • 6.x
  • Apache httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.