summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvoctocore/voctocore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/voctocore/voctocore.py b/voctocore/voctocore.py
index 3a4125a..bf9b973 100755
--- a/voctocore/voctocore.py
+++ b/voctocore/voctocore.py
@@ -56,8 +56,9 @@ class Voctocore(object):
def main():
# configure logging
docolor = (Args.color == 'always') or (Args.color == 'auto' and sys.stderr.isatty())
+ timestamp = Args.timestamp > 0
- handler = LogHandler(docolor)
+ handler = LogHandler(docolor,timestamp)
logging.root.addHandler(handler)
if Args.verbose >= 2: