16.12.2014, 17:58
Quote:
This is how I personally log for my server. All the important commands (admin commands, namechanges, selling/buying things, advertisements, etc.) are logged on the mysql server, while the rest is just saved normally in server_log.txt. Every 3-4 days we rename the log to the date (so for example today we would rename it to "server_log_dec16_2014.txt" and we move it to the "logs" directory which is located in the home directory (linux). Then we just reload the logs. You can easily search through logs (or any file on linux) using
Код:
fgrep "Whatever you want to search for" server_log.txt |
I have a system to search and display logs, it takes a matter of seconds.
But it seems that this won't be an issue, thanks guys.