nuagenetworks / bambou

low level rest communication library for vsp style apis
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

Improved logging #9

Closed pdellaert closed 8 years ago

pdellaert commented 8 years ago

No need for info logging of successful headers and data. Unnecessary fills up the log output.

Keeping it in track with the request logging in case of a correct response (<300). In case of status >=300, logging the headers and data.

(Personally, i wouldn't log headers and data in warning cases as well, typically, if someone wants to figure out what is happening on a failed call, debug output should be enabled).

t00f commented 8 years ago

Thanks