add log4r logger
fixe puts error