Configure logging in cli instead of library

In library use do-nothing logging handler and let users to configure it
to their needs.

Resolves: rhbz#1123524