updated logger for production