Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup logging of xtrabackup's pre-command

  • Loading branch information...
commit 70da89fd9f319faf211aee3addb12d5819420ec6 1 parent aa89a8c
@abg abg authored
View
3  plugins/holland.backup.xtrabackup/holland/backup/xtrabackup/util.py
@@ -143,6 +143,7 @@ def execute_pre_command(pre_command, **kwargs):
return
pre_command = Template(pre_command).safe_substitute(**kwargs)
+ LOG.info("Executing pre-command: %s", pre_command)
try:
process = Popen(pre_command,
stdout=PIPE,
@@ -155,7 +156,7 @@ def execute_pre_command(pre_command, **kwargs):
(pre_command, exc.strerror))
for line in process.stdout:
- LOG.info("[pre-command pid=%d]: >> %s", process.pid, line)
+ LOG.info(" >> %s", process.pid, line)
returncode = process.wait()
if returncode != 0:
raise BackupError("pre-command exited with failure status [%d]" %
Please sign in to comment.
Something went wrong with that request. Please try again.