User logger instead of printStackTrace