question

aleksandrkruchinin avatar image
aleksandrkruchinin asked

online logging

It is planned that one server will serve hundreds of players. And work without freezing. Moreover, every match inside the server is logged. Is it possible to save a log somewhere without being tied to the player's storage? To view the log file information before shutting down the server.

Custom 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

·
Sarah Zhang avatar image
Sarah Zhang answered

Do you use the PlayFab Multiplayer server hosting service? If so, except retrieving the archived log files after shutting down the server, you can also connect to the VM whose server instances are still running and use the CMD commands to view real-time logs. Please check the documentation -- https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/directly-debugging-game-servers, especially this section for more information. Please note, these logs you view on the VM are temporary content, that only will be archived after you shut down the server. To persistently save them before shutting down the server, you would need to store the logs on the external storage on your own.

1 comment
10 |1200

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

aleksandrkruchinin avatar image aleksandrkruchinin commented ·

Thank you. I think this will be the copying of information by the server to external storage

0 Likes 0 ·

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.