diff --git a/gramps/grampsapp.py b/gramps/grampsapp.py index 065be64a5..1c184b2f8 100644 --- a/gramps/grampsapp.py +++ b/gramps/grampsapp.py @@ -68,7 +68,9 @@ from .gen.constfunc import win """Setup basic logging support.""" # Setup a formatter -form = logging.Formatter(fmt="%(relativeCreated)d: %(levelname)s: %(filename)s: line %(lineno)d: %(message)s") +form = logging.Formatter(fmt="%(asctime)s.%(msecs).03d: %(levelname)s: " + "%(filename)s: line %(lineno)d: %(message)s", + datefmt='%Y-%m-%d %H:%M:%S') # Create the log handlers if win():