I see the webfaction server error logs and access logs show the Server Time. Is it possible to change server time to my timezone, say for the error log files? As this helps a lot in debugging. asked 02 Apr '13, 06:43 Prajwal |
You can't set the TZ for your front-end access and error logs. They will always be in the server TZ (UTC). If you want to set the TZ for your back-end logs, like those for an Apache instance installed with a Django app, then set your TZ environment variable in your
Don't forget to restart Apache after making that change. This same technique should work for any other long-running daemon that writes to a log - i.e., just set the TZ environment variable for whatever environment it runs in. answered 02 Apr '13, 18:13 seanf |