Generate valid error message when logger cannot be configured

Fixes https://github.com/getgearbox/gearbox/issues/1