changed logging to dev env only