Comment 1 for bug 2027521

Revision history for this message
Juanmi Taboada (juanmitaboada) wrote :

The logging library should provide a better error using "!r" to avoid confusing messages.

I have added a little check to provide a better error from our side, now the error would look like this:
AttributeError: Unknown level "'info'", conversion to logging code was "Level 'INFO'"

The solution has been provided in:
https://github.com/canonical/landscape-client/pull/166