Moved logging into production env