Log file cleanup + improvements

-Don't show queue timeout as error
-Show UTC time and current timezone on pypo startup
This commit is contained in:
Martin Konecny 2012-06-28 16:16:02 -04:00
parent 226b6e8709
commit f16d8eb438
1 changed files with 2 additions and 2 deletions

View File

@ -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)