CSPACE-6335: Added 'logoutput => on_failure' to exec resources. Style fixes.