log env encoding on miss