[Icecast] Icecast Logs Timestamp in UTC

Bryan D. Brown bryan.brown at kcsb.org
Thu Dec 16 22:34:04 UTC 2010


Is it the icecast process that's the issue, or is it the user under which the process runs? FWIW, I call icecast from the command line, not an init script. 

This is a dedicated machine, so there's nothing else of note running under this particular (and only, aside from root) user. If fact, the only reason there is a user on this box is for non-root SSH and for icecast.  

Thanks for your help. 


On Dec 16, 2010, at 1:44 PM, Thomas B. Ruecker wrote:

> 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. ;)
> Cheers
> Thomas
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast

More information about the Icecast mailing list