Fix logging bug in httpjson collector

I've used `log.error` method wrong :(