Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Logging

tarcieri edited this page Mar 18, 2013 · 3 revisions

Resque supports any Logger that is a duck type of the Ruby standard library's built-in Logger class. By default Resque will log to STDOUT. You can reconfigure the logger with

Resque.logger = MyLogger.new

Loggers support various severity levels. The default severity level is Logger::INFO. For more verbose debug logging, you can set the severity level to the following:

Resque.logger.level = Logger::DEBUG

NOTE: this new API replaces the former VERBOSE and VVERBOSE environment variables.

Clone this wiki locally