change printing from syso to logger