Detailed debug logging can help troubleshoot your standard Ruby agent installation.
If you are using Heroku, see Ruby agent and Heroku.
To generate detailed New Relic for Ruby log files:
newrelic.ymlfile in an editor.
debugand save the file. Ensure you do not modify the indentation.
debugis a highly verbose logging level. Ensure you return to your previous
log_levelafter you generate debug-level logs.
Restart your web application.
Generate some traffic to your app and run it for about five minutes.
Examine your log file for errors. By default, your log file is located in your app's log folder and is named
If sending your log file to New Relic Support, attach the log file to your support ticket, along with
newrelic.yml, your Gemfile, and
newrelic.ymlagain and change the
log_levelto the previous setting. Save the file.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.