summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarvi Pillessaar2013-03-05 07:44:08 +0000
committerTarvi Pillessaar2013-03-05 07:44:08 +0000
commit1190f5d3534e2a5f8ad765bf3c34870edc511af0 (patch)
treee23f0e8df2decfe4905350da514fa0415bac1cb1
parent6f80215d6f3c7783ac9e6025af1d1c5d701b86d9 (diff)
walmgr: small loglevel changes
-rwxr-xr-xpython/walmgr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/walmgr.py b/python/walmgr.py
index edbfaf64..60b1df3b 100755
--- a/python/walmgr.py
+++ b/python/walmgr.py
@@ -868,7 +868,7 @@ class WalMgr(skytools.DBScript):
else:
# not possible to change archive_mode or wal_level (requires restart),
# so we just set the archive_command to /bin/true to avoid WAL pileup.
- self.log.warning("database must be restarted to disable archiving")
+ self.log.info("database must be restarted to disable archiving")
self.log.info("Setting archive_command to /bin/true to avoid WAL pileup")
cf_params['archive_command'] = '/bin/true'
@@ -1931,7 +1931,7 @@ STOP TIME: %(stop_time)s
if not setname and os.path.isdir(data_dir) and backup_datadir:
# compatibility mode - restore without a set name and data directory exists
- self.log.warning("Data directory already exists, moving it out of the way.")
+ self.log.info("Data directory already exists, moving it out of the way.")
createbackup = True
# move old data away