Use logger instead of printStackTrace

+ equals overwritten correctly

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>