commit | 2703983be9ca829a677f03a5aa2bbef5a2be295e | [log] [tgz] |
---|---|---|
author | Steve McIntyre <steve.mcintyre@linaro.org> | Mon Jul 13 17:49:40 2015 +0100 |
committer | Steve McIntyre <steve.mcintyre@linaro.org> | Mon Jul 13 17:49:40 2015 +0100 |
tree | f1694d3a633b2924822e9dbda42422dd2c77c95a | |
parent | 4fc9c84add191c3eec47cf55a257e7662b0d26ee [diff] [blame] |
Put the daemon into UTC for sane logging timezone Change-Id: Ieccb8dc32c2ce6a00e6a339b045de29c782d9286
diff --git a/vland.py b/vland.py index fde3893..5867834 100644 --- a/vland.py +++ b/vland.py
@@ -94,6 +94,9 @@ elif state.config.logging.level == "DEBUG": loglevel = logging.DEBUG +os.environ['TZ'] = 'UTC' +time.tzset() + # Should we log to stderr? if state.config.logging.filename is None: logging.basicConfig(level = loglevel,