diff --git a/src/gramps.py b/src/gramps.py index 002b12810..da9444104 100644 --- a/src/gramps.py +++ b/src/gramps.py @@ -62,7 +62,9 @@ import constfunc """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 constfunc.win():