summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-12-19 13:47:46 +0000
committerLars Wirzenius <liw@liw.fi>2012-12-19 13:47:46 +0000
commit240dc7f6e8ace57fad8129cb423fa8b1417939be (patch)
treed6ee75715537660736133e91df40109755430865
parent56a03300dc5c777a543d6e58f8e499374d71c2d9 (diff)
downloadobnam-240dc7f6e8ace57fad8129cb423fa8b1417939be.tar.gz
Change default log level to INFO
-rw-r--r--NEWS5
-rw-r--r--obnamlib/app.py2
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0b677fe1..b31295ee 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,11 @@ Version X.Y, released UNRELEASED
* Even more detailed progress reporting during a backup.
* Add --fsck-skip-generations option to tell fsck to not check any
generation metadata.
+* The default log level is now INFO, instead of DEBUG. This is to be
+ considered a quantum leap in the continuing rise of the maturity level
+ of the software. (Actually, the change is there just to save some
+ disk space and I/O for people who don't want to be involved in Obnam
+ development and don't want to have massive log files.)
Version 1.3, released 2012-12-16
--------------------------------
diff --git a/obnamlib/app.py b/obnamlib/app.py
index 13f3f9d8..a175bb0d 100644
--- a/obnamlib/app.py
+++ b/obnamlib/app.py
@@ -135,6 +135,8 @@ class App(cliapp.Application):
self.pm.load_plugins()
self.pm.enable_plugins()
self.hooks.call('plugins-loaded')
+
+ self.settings['log-level'] = 'info'
def deduce_client_name(self):
return socket.gethostname()