In New Relic's Servers for Linux, you can change the log file's level of detail. Making logging more verbose can help when troubleshooting an issue.
verbosedebug log settings can generate large files quickly. As soon as you have enough data to reproduce the problem, change the log level back to
Change logging level
To generate a detailed log for troubleshooting purposes:
- Open the Servers nrsysmond.cfg file, usually located at
- Change the
verbosedebug. Save the file and exit.
- Restart the Servers for Linux daemon; for example, use the command
/etc/init.d/newrelic-sysmond restartfor a standard setup.
- If you are trying to reproduce a specific known issue, let New Relic record data until the issue is reproduced. Otherwise, record data for around 5-6 minutes.
- As soon as you finish collecting data: In the nrsysmond.cfg file, change the
info. Save and exit.
- Restart the New Relic Servers for Linux daemon.
Your webserver does not need to be restarted. Restarting the New Relic Servers daemon will have no effect on your webserver.
The log file is located at
/var/log/newrelic/nrsysmond.log. If you are in contact with New Relic Support, this is the log file they request.
For more help
Additional documentation resources include: