Skip to content
ujihisa edited this page Sep 28, 2018 · 4 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 only if you change the formatter from default Resque::QuietFormatter to something that can produce other than empty strings. 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.