add log opts flag to pass in logging options Upstream-commit: fe3becee34a93ebffe4a9fbcb0057d2b82242307 Component: engine