Don't log at all if debugging is not turned on

Else the http module prints this out on each command - yuk

"INFO Starting new HTTP connection (1): 127.0.0.1"

Change-Id: I6e8900106051914b7ddc0a216c6a7864f4ea38e0