Fix logging behavior in specs

We don't want to output logs from the server in the integration tests OR
suppress $stderr output altogether, so we just use a dummy logger that accepts
any message and does nothing.

Also some minor formatting things