# HG changeset patch # User Dirk Olmes # Date 1398572344 -7200 # Node ID 38d1898e7d8210708f569591d15519663caf69ab # Parent 699d8f1cebd48a2c7e4cfe14723f7875f42aa917 include the time when logging diff -r 699d8f1cebd4 -r 38d1898e7d82 feedupdate.py --- 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()