Module: Surveymonkey::Logging

Defined in:
lib/surveymonkey/logging.rb

Overview

Implement logging for Surveymonkey via the Logging library.

Logging configuration happens at runtime and is drawn from the SURVEYMONKEY_LOGLEVEL environment variable. Set this variable to one of the standard syslog levels (debug, info, warning, error, fatal) to enable more or less logging. At present Surveymonkey logs a lot of debug messages, and other than that just emits errors and fatals if it encounters problems. The default loglevel is error.

Constant Summary collapse

Loglevel =
:error