Problem
You encounter problems sending data to New Relic with an application instrumented with the C SDK, but you are not sure what the cause is.
Solution
The New Relic C SDK and its daemon have their own logs:
- C SDK logs: These logs are generated due to errors in how you've instrumented your code using the New Relic C SDK API calls.
- Daemon logs: These are logs related to transmission of data to New Relic.
To help troubleshoot an issue, we recommend generating logs at their highest level:
- Set the C SDK log to
verbose
level and the daemon log todebug
level. - Run both logs for 5-10 minutes.
- After generating logs for troubleshooting, return logging for both the C SDK and daemon to their default levels.
注意
Elevated logging levels can create large log files and have a performance impact. Generate logs at this level only as long as necessary for troubleshooting.
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。