autotest/autotest — pull request #260 by lmr (2012-04-01 18:20:40+00:00)
Title: logging_config: Print UTC time on timestamps for file logs

This is part of a solution for issue #113.

Due to the fact we work usually on a higly distributed
environment, displaying the messages using UTC is the
best way to help people to debug issues.

Consulting the logging module documentation:

http://docs.python.org/library/logging.html#formatter-objects

The way to make the timestamps to display UTC is to
change the converter function of the Formatter objects
to time.gmtime. So, create a specialized version of
the Formatter object, and set it for the logs stored on
disk. Console log formatting remains unchanged.

Signed-off-by: Lucas Meneghel Rodrigues