From f16d8eb43807ffc28f1d42c8e988e7fc410fcbdd Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Thu, 28 Jun 2012 16:16:02 -0400 Subject: [PATCH] Log file cleanup + improvements -Don't show queue timeout as error -Show UTC time and current timezone on pypo startup --- python_apps/pypo/pypocli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_apps/pypo/pypocli.py b/python_apps/pypo/pypocli.py index 8873c6382..2a5d8a4b7 100644 --- a/python_apps/pypo/pypocli.py +++ b/python_apps/pypo/pypocli.py @@ -149,8 +149,8 @@ if __name__ == '__main__': #Although all of our calculations are in UTC, it is useful to know what timezone #the local machine is, so that we have a reference for what time the actual #log entries were made - logger.info("Timezone: %s" % time.tzname) - logger.info("UTC time: %s" % datetime.utcnow()) + logger.info("Timezone: %s" % str(time.tzname)) + logger.info("UTC time: %s" % str(datetime.utcnow())) signal.signal(signal.SIGINT, keyboardInterruptHandler)