Hello NFO Community,
I have a question about general log folders. So I have a game server for a game and It has its own log's folder in its Directory with every date its up. for example today's log folder would be called: server_08/12/2015.txt and it would contain what happens inside the server. I have my own domain hosted somewhere else. how would I be able to make these log files able to be streamed on a sub domain. for example: www.mydomain.com/serverlogs. then when the administrator clicks on the the .txt it would open the file on the webpage. So basically live log streaming.
Any PHP scripts or FTP commands would be gladly appreciated
Thanks for reading,
Ben
Question about general Gameserver logs transfering.
-
- New to forums
- Posts: 8
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Dec 17, 2014 6:31 am
Re: Question about general Gameserver logs transfering.
Have you tried to get the logs via HLSW onto your own computer.
Re: Question about general Gameserver logs transfering.
I personally do not need the logs as i can download them manually via FTP but I want to stream it onto a webpage so that other admins can view them.
-
- This is my homepage
- Posts: 439
- Joined: Sat Sep 04, 2010 10:20 am
- Location: Cologne, Gemany
- Contact:
Re: Question about general Gameserver logs transfering.
The easiest and fastest option would probably be to set up a restricted FTP account with read-only permissions for your admins (either generic one for everyone, or for each person an individual account).
Re: Question about general Gameserver logs transfering.
One way to do this would be an automated rsync operation run from the webhosting machine that copies the files to your webhosting account.
Be careful with making them publicly available, because game logs can contain sensitive information such as client IP addresses.
Be careful with making them publicly available, because game logs can contain sensitive information such as client IP addresses.
Re: Question about general Gameserver logs transfering.
Thanks everyone got it working!