Eli Mesika has uploaded a new change for review.

Change subject: core: taskcleaner.sh '-l' option does not prod...
......................................................................

core: taskcleaner.sh '-l' option does not prod...

Adding -L to the psql call to log command and its result.

Change-Id: Iee255ff5f929d795790088d5cf3475db0b81e04a
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1029177
Signed-off-by: Eli Mesika <emes...@redhat.com>
---
M packaging/setup/dbutils/taskcleaner.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/31/21331/1

diff --git a/packaging/setup/dbutils/taskcleaner.sh 
b/packaging/setup/dbutils/taskcleaner.sh
index 3452cf8..5ccb5aa 100755
--- a/packaging/setup/dbutils/taskcleaner.sh
+++ b/packaging/setup/dbutils/taskcleaner.sh
@@ -251,7 +251,7 @@
         CMD1="SELECT ${FIELDS} FROM GetAllFromasync_tasks();"
 fi
 
-psql -w -U ${USERNAME} -h ${SERVERNAME} -p ${PORT} -c "${CMD1}${CMD2}" -x 
${DATABASE}
+psql -w -U ${USERNAME} -h ${SERVERNAME} -p ${PORT} -c "${CMD1}${CMD2}" -x 
${DATABASE} -L ${LOGFILE}
 status=$?
 popd>/dev/null
 exit ${status}


-- 
To view, visit http://gerrit.ovirt.org/21331
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee255ff5f929d795790088d5cf3475db0b81e04a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to