summaryrefslogtreecommitdiff
path: root/alot/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/__main__.py')
-rw-r--r--alot/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/__main__.py b/alot/__main__.py
index 37d74f3b..c74e5d6f 100644
--- a/alot/__main__.py
+++ b/alot/__main__.py
@@ -95,7 +95,7 @@ def main():
root_logger.removeHandler(log_handler)
root_logger = None
numeric_loglevel = getattr(logging, options.debug_level.upper(), None)
- logformat = '%(levelname)s:%(module)s[%(filename)s:%(lineno)d]:%(message)s'
+ logformat = '%(levelname)s:%(asctime)s:%(module)s[%(filename)s:%(lineno)d]:%(message)s'
logging.basicConfig(level=numeric_loglevel, filename=options.logfile,
filemode='w', format=logformat)