added full logging to production environment