added logger for production