Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressed and daily log files? #497

Open
ivanka2012 opened this issue Apr 13, 2021 · 1 comment
Open

Compressed and daily log files? #497

ivanka2012 opened this issue Apr 13, 2021 · 1 comment

Comments

@ivanka2012
Copy link

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
Copy link

Calinou commented Apr 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants