Did you find this helpful?

Archiving and retrieving multiplayer server logs

In several scenarios you may want to retain logs or other arbitrary file content from your game servers for later analysis. The Game Server SDK provides an API that allows you to write to a log file or access a logging directory. See Integrating game servers with the PlayFab game server SDK (GSDK) to learn more about these logging mechanisms.

Archived Servers is the vehicle for retrieving these logs after the game server has terminated. First go to the Servers page in the Multiplayer Servers 2.0 tab and click View Archive on the top right:

This will take you to a page where you can browse archived servers by build and region. You can access this information programmatically using the ListArchivedMultiplayerServers API.

Use the Search Logs button to download logs for a specific server by server id. The programmatic equivalent is GetMultiplayerServerLogs

Did you find this helpful?