disable logs for non-dev env