[Icecast] Icecast Logs Timestamp in UTC

Thomas B. Ruecker dm8tbr at afthd.tu-darmstadt.de
Thu Dec 16 21:44:05 UTC 2010

On Thu, Dec 16, 2010 at 12:29:58PM -0800, Bryan D. Brown wrote:
> I'm having a major problem with the timestamps in both the Icecast access.log and error.log. The timestamp on the logfiles themselves is accurate, but the logging of the various connections to my streams is in UTC.  No matter how I try to configure the hwclock or the system clock, the log timestamp is always UTC, which is 8 hours ahead of my current time zone. I've even tried setting the hwclock to localtime, but to no avail. 
> I've just updated and compiled to the newest kernel as well, but that still hasn't solved the problem. Clearly, I'm missing something, but I'm at a loss as to what it could be. 
You're lucky we had this problem once come up on IRC.
What you describe is all well and fine, but you actually need to adjust the environment variables for the icecast process. For some reason those you set globally got ignored, maybe some override in the init script that sets TZ=UTC or sthg like that?

If that's not it I can dig out the IRC logs during the weekend. ;)



More information about the Icecast mailing list