Use logError for errors

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>