diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py index 9b13019..148981f 100644 --- a/calibre-plugin/__init__.py +++ b/calibre-plugin/__init__.py @@ -12,7 +12,7 @@ if sys.version_info >= (2, 7): import logging logger = logging.getLogger(__name__) loghandler=logging.StreamHandler() - loghandler.setFormatter(logging.Formatter("FFF:%(levelname)s:%(filename)s(%(lineno)d):%(message)s")) + loghandler.setFormatter(logging.Formatter("FFF: %(levelname)s: %(asctime)s: %(filename)s(%(lineno)d): %(message)s")) logger.addHandler(loghandler) loghandler.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG) diff --git a/fanficfare/__init__.py b/fanficfare/__init__.py index 09269c6..123d607 100644 --- a/fanficfare/__init__.py +++ b/fanficfare/__init__.py @@ -27,7 +27,7 @@ except: import logging logger = logging.getLogger(__name__) loghandler=logging.StreamHandler() - loghandler.setFormatter(logging.Formatter("FFF:%(levelname)s:%(filename)s(%(lineno)d):%(message)s")) + loghandler.setFormatter(logging.Formatter("FFF: %(levelname)s: %(asctime)s: %(filename)s(%(lineno)d): %(message)s")) logger.addHandler(loghandler) loghandler.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG)