Redirect stderr to stdout for logging