I think you are on to something.<br><br>date: Wed Jun 18 15:23:03 EDT 2008<br>date -u: Wed Jun 18 19:23:05 UTC 2008<br>access.log: 18/Jun/2008:14:23:34 -0500<br><br>I made sure that my tzdata package was up to date and that /etc/localtime points to the correct zone at /usr/share/zoneinfo/America/New_York. I then gave nginx the HUP signal (not sure if that was necessary).<br>
<br>but the time stamps are still 1 hour behind.<br><br>-Jake<br><br><br><div class="gmail_quote">On Wed, Jun 18, 2008 at 2:52 PM, Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Wed, Jun 18, 2008 at 02:10:37PM -0400, J Davis wrote:<br>
<br>
> I'm trying to figure out why my nginx access log timestamps are an hour<br>
> behind the actual time.<br>
> I've confirmed that the "date" and "hwclock" commands both return the proper<br>
> values on the system and that the timezone is correct but the timestamps in<br>
> the nginx logs are all an hour off.<br>
> I realize this may not be an Nginx problem but I'm not sure how else to<br>
> narrow down the possibilities.<br>
><br>
> Any insights are greatly appreciated.<br>
><br>
> RedHat el5 - 2.6.18-8.el5<br>
> nginx/0.6.29<br>
<br>
</div></div>This may be incorrectly set daylight saving time offset.<br>
Could you show last line from access log and output of<br>
<br>
date<br>
<br>
and<br>
<br>
date -u<br>
<br>
?<br>
<font color="#888888"><br>
<br>
--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</font></blockquote></div><br>