Mercurial > hg > Feedworm
changeset 219:38d1898e7d82
include the time when logging
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 06:19:04 +0200 |
parents | 699d8f1cebd4 |
children | a383abe2e81a |
files | feedupdate.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/feedupdate.py Sun Apr 27 06:04:57 2014 +0200 +++ b/feedupdate.py Sun Apr 27 06:19:04 2014 +0200 @@ -4,7 +4,8 @@ import logging if __name__ == "__main__": - logging.basicConfig(level=logging.DEBUG) + logFormat = '%(asctime)s ' + logging.BASIC_FORMAT + logging.basicConfig(format=logFormat, level=logging.DEBUG) backend = BackendFactory.createBackend() backend.updateAllFeeds() backend.expireFeedEntries()