summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-07-11 19:02:09 +1200
committerLars Wirzenius <liw@liw.fi>2010-07-11 19:02:09 +1200
commit5a0f3a2502e2b9ff927afe68b4bb2b216678b75f (patch)
tree15b7c9ecc60ae9be257a3835d2f7a84915750023
parenta2f18bf60ab4bdf843c832f101fc8d6481263993 (diff)
downloadobnam-5a0f3a2502e2b9ff927afe68b4bb2b216678b75f.tar.gz
Log obnam starting and ending.
-rw-r--r--obnamlib/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/obnamlib/app.py b/obnamlib/app.py
index c0172d47..ebd40bc0 100644
--- a/obnamlib/app.py
+++ b/obnamlib/app.py
@@ -107,10 +107,12 @@ class App(object):
self.config.load()
self.hooks.call('config-loaded')
self.setup_logging()
+ logging.info('Obnam %s starts' % obnamlib.version)
if self.config.args:
self.interp.execute(self.config.args[0], self.config.args[1:])
else:
raise obnamlib.AppException('Usage error: '
'must give operation on command line')
self.hooks.call('shutdown')
+ logging.info('Obnam ends')