I'm trying to get the correct datestamp in a logfile for Raspberry-Pi for a
server task.

The task runs under supervisord with root permissions.

I modified /root/.profile and added TZ='Australia/Sydney'; export TZ

However, in Python, the logging/task doesn't see dates with the correct
timezone delta added.

How can I get this to work?
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to