Mercurial > hg > Feedworm
diff feedupdate.py @ 219:38d1898e7d82
include the time when logging
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 06:19:04 +0200 |
parents | bb3c851b18b1 |
children | a383abe2e81a |
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()