test logging setup from doctests