Hi all, maybe someone over here has an idea ;)
As you've probably seen that I have added a parameter "defaultTZ" to imtcp (experimentally, to get started). The core idea is to set a TZ for those devices that do not provide it. As usual, there are subtle issues. Ideally, I'd like to set it to something like "ET", which means I would somehow need to obtain DST change information. Does anyone have an idea of how this could be done without considerable effort (like re-implementing DST parameters). I know that even then there are multiple subtle issues lurking, but I think a basic, "works mostly right" version would be useful... All Linux APIs I have researched so far rely just on the local system timezone. All proposed methods to do conversions I have found so far rely on modifying the TZ envvar, which does not really work for a multithreaded app like rsyslog (except if I make conversion extremely costly) and also cost quite a bit of performance. Have I overlooked some simple approach? Feedback appreciated. Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

