Expose more logging options

I've found I needed these options to debug problems.