Switched log message from ERROR to DEBUG.
Fixed erros detected by go vet.