ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://ioquake3.org/
GNU General Public License v2.0
2.42k stars 529 forks source link

Compressed and daily log files? #497

Open ivanka2012 opened 3 years ago

ivanka2012 commented 3 years ago

So my ioquake3 server generates a huge amount of logs and runs for multiple days. Currently, I am running a cron job so that it would compress and save the logs every day. However, I feel like this could be implemented in the game (I can submit a pull request if you want), but I'm not sure what the stand is on changing barebones things like this.

Could compressed or daily logging work out for ioquake3?

Calinou commented 3 years ago

The 12-factor philosophy states that applications that run on a server shouldn't bother implementing fancy logging schemes, since the server should handle this nicely for them. This can happen automatically if you host an ioquake3 server as a systemd service, for instance.

Therefore, I wouldn't bother implementing logging rotation or compression in ioquake3.