I am currently implementing basic logging of information on my multiplayer game and I want to have the most effective method.
To log when a player connects and disconnects to a the server it currently saves the info in one of two global txt files, one for the entire servers connections one for disconnections (a new pair for each day).
Taking into consideration the file sizes, that they are to be written to and not read from, organisation and problems with a large amount of players, would it be more effective to store the data:
A. In daily files
B. In monthly files
C. In yearly files
And should the files be:
1.combined in a single txt file
2.seperate in two txt files
3.combined individually for each player
4.seperate but for each player
Or 5.Another alternative I haven't thought of.
Which way should I use and why?
(also I know the difference between one or another could be dependent on the exact use so the best overall performance/organisation)
P.s if you don't understand the way I've said or worded something ask and I'll try to explain it better.