Disable logging to stdout during test