Fix logging bug.
Merge pull request #584 from shoonoise/master

Fix logging bug in httpjson collector