packaging: engine-backup: log postgres commands
packaging: engine-backup: log postgres commands

Log postgres commands (pg_dump, psql) stdout/stderr directly to main log
if we do not parse them, instead of using a temporary log and appending
it.

If we do parse them, do not die on error before appending to main log.

Bug-Url: https://bugzilla.redhat.com/1222554
Change-Id: Ic45bdf97523a8a5ce1edcf03af8876414b9302ec
Signed-off-by: Yedidyah Bar David <e7f2f616ce8817ad893bbeaad3e942e94c69d323@redhat.com>

OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine