Remove spurious log statements.

Fixes a null-pointer dereference in the restclient test.