Logging

This page is about the Ruby agent’s internal logging, if you’re interested in Scout’s Managed Logs for Ruby applications, you’ll find that over here.

Logs

The Ruby agent writes all of its logs to the log/scout_apm.log file. By default, our logging is set to info level logging. However, this can be tightened or loosened in the configuration using the log_level variable in the config/scout_apm.yml file, or via environment variable – SCOUT_LOG_LEVEL.

Heroku

To view Scout logs on Heroku, use: heroku logs --tail -a your_app_name | grep [Scout]

Log Levels

The possible log levels are as follows: