08.01.2014, 22:33
A simple question about logs (joins, parts, deaths and so on).
Is better to log them on MySQL or in a file?
Because i log everything in a file so im considering it to move in MySQL. How i can read a single log then?
Example: I have a join log, which logs PlayerName, IP and Date/time when joined, how i can read from a command ingame this log for the chosen player? Like /joinlog Face900, which will show all logs related to my name.
Is better to log them on MySQL or in a file?
Because i log everything in a file so im considering it to move in MySQL. How i can read a single log then?
Example: I have a join log, which logs PlayerName, IP and Date/time when joined, how i can read from a command ingame this log for the chosen player? Like /joinlog Face900, which will show all logs related to my name.



i do it. It just depends what you need the "logs" for. Its useful if you want to display the logs in game, as well as on your website. If its in game, a simple file system will do.