Add some logging

This replaces `prn` calls with calls to a real logger.

It also silences the initialization log messages from zookeeper in tests.