fix log statement
allow ignoring exit status
tweak log statement