replaced log4js with debug