Set logging to check with maintainer mode.

This fixes part of #54.