Katello/katello — pull request #570 by lzap (2012-09-03 17:00:34+00:00)
Title: Two cli bugs: system register 853056 and error handling 853995

https://bugzilla.redhat.com/show_bug.cgi?id=853056
https://bugzilla.redhat.com/show_bug.cgi?id=853995

Plus one cosmetic change. Instead of "Not found" when route does not exist, Katello now reports "Resource not found on the server" cos "Not found" seems to be pretty generic and I was very confused when I was working from curl/wget.

And also I have introduced -d option for the CLI that turns on DEBUG logging in the client.log. This is VERY useful for debugging HTTP communication. If you need other logging level, use KATELLO_CLI_LOGLEVEL environment variable.

Enjoy.