disable detailed REST logging unless an env var is set