Now using errors instead of log statements.

Signed-off-by: Joe Dallago <jd.dallago@gmail.com>