Added logging support to init.

Bump #7.