added new logger and fixed production issues