docs/main/administration-guide/configure/calls-logging.mdx
When troubleshooting Mattermost Calls, gathering the appropriate log files for analysis is critical. The required logs include:
The location of the RTCD log file is determined by the settings in your RTCD config.toml file. If you are running Calls using the integrated RTCD, these logs are included within the standard Mattermost server logs.
You can retrieve basic client logs by running the /call logs slash command to output the log for the most recent call. However, capturing the JavaScript console logs is often more helpful. The method for capturing these logs depends on your client:
You can gather client call statistics by running the /call stats slash command. While you can run this command during an active call, it is best to run it immediately after a call concludes. This command provides valuable information regarding the negotiated connection between the client and RTCD, as well as statistics on media packets sent and lost.
The Mattermost server logs often contain entries related to the Calls plugin. If you are using an external RTCD instance, these logs are generally less critical than the RTCD and client logs.
<Note>Interpreting RTCD and client logs can be challenging, as the Interactive Connectivity Establishment (ICE) negotiation during call setup often logs expected and benign failure or error messages. We strongly recommend providing the complete set of logs to Mattermost Support for analysis.
</Note>