Re: [users@httpd] Log Time != Server Time

2013-06-21 Thread Bradley Andersen
On Fri, Jun 21, 2013 at 12:38 PM, Pete Houston wrote: > Yes, it's pretty simple, assuming that you mean that apache should run > as UTC (GMT) and the other, non-apache processes on the machine should > be unaffected: > > $ export TZ=GMT > $ apachectl stop > $ apachectl sta

Re: [users@httpd] Log Time != Server Time

2013-06-21 Thread David Guerra
Wont using export TZ=GMT affect more than just the Apache service if the TZ is relied upon? I'd be weary about doing anything other than changing the timezone of the server. On Fri, Jun 21, 2013 at 12:38 PM, Pete Houston wrote: > Yes, it's pretty simple, assuming that you mean that apache shou

Re: [users@httpd] Log Time != Server Time

2013-06-21 Thread Pete Houston
Yes, it's pretty simple, assuming that you mean that apache should run as UTC (GMT) and the other, non-apache processes on the machine should be unaffected: $ export TZ=GMT $ apachectl stop $ apachectl start Make sure to include this env var in the apache boot script too.

[users@httpd] Log Time != Server Time

2013-06-21 Thread Bradley Andersen
I need requests to be logged using a different time zone than the apache server's time zone. For example, if my timezone happens to be UTC-4, I would like the logs to report requests as UTC, while keeping the apache server time zone set as UTC-4. Is this possible natively (to apache)?