[BZ 1130091] Redirect debug output to a file to let rhqctl continue starting agent

(cherry picked from commit 42aea2b17c34d6b6ecd30ea5738cf5a1c594b1ff)
Signed-off-by: Thomas Segismont <tsegismo@redhat.com>