Logging
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:
DEBUG
INFO
WARN
ERROR
FATAL