Logs access
#1

Is there a way to make a log access system? where admins can view server logs without having to log into my host and look through the file?
Reply
#2

Which part of the logs do you want the admins to view? you can document that on your own and provide it to them through a built system whether its chat (OnPlayerText) or commands (OnPlayerCommandtext) ..etc
Reply
#3

Depends if you want to do this in-game, or externally through a language such as PHP (so, online). If the latter: there's different options: if storing logs through MySQL, you can simply extract from the database. Otherwise, if running locally, you can access the log files directly, and if remotely, you can set up an FTP server where the logs are and connect through that to access log files. After that, it'd simply be a matter of showing and presenting the data which would be HTML as well as the PHP backend. It'd be done differently if you opt to do this in-game. For further advice, you should say what you're looking to do and what log format/how you store logs already.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)