A server‘s log which run for 17hours was lost . The server was start at 3/5/2018. Is there any way to confirm that log was not writen or there is some limit for log.
A server‘s log which run for 17hours was lost . The server was start at 3/5/2018. Is there any way to confirm that log was not writen or there is some limit for log.
There are only three possible cases that would prevent the log file for a hosted game server to not be captured:
1. There was no log written.
2. The log was not written to the correct location (specified by log_file_path in the command line parameters passed to the executable on start).
3. The log file was too large (think 1GB+), causing the server to time out on trying to upload the full file before having to shut down.
I can get log from the same executable server which doesn't run for too long. So I thought it might be case 3.
Is it possible to get a large log.
If the log is getting into the GB range, then it's going to take too long to copy, once your executable shuts down. What you may want to do is explicitly write the log file to the Content service (https://api.playfab.com/documentation/admin/method/GetContentUploadUrl) as part of the server logic. It's only once the exe has stopped that we consider the server done and start processing the log file.
2 People are following this question.