question

Robyn To avatar image
Robyn To asked

Access Server Logs through API / GSDK

Is it possible to access server logs on PlayFab servers through some API?

Our external QA team does not have access to our title and I would like to get server logs uploaded in bug reports. They only have access to our clients

apisCustom Game Servers
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

PlayFab provides GetMultiplayerServerLogs API for you to get multiplayer server logs after the server instance has terminated. You may use the ListArchivedMultiplayerServers API to get the Server ID for the servers, then you may call GetMultiplayerServerLogs API with the Server ID to get the server logs. Please remember that these two APIs can only be called by title entity(you may implement an Azure Function to use these two APIs) and these logs can be retrieved after the game server has terminated and are kept for 28 days after the termination of your game server.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.