I want to make sure that the server we use for logging certain things never runs out of disc space because of too many logs. The oldest logs shall be deleted when disc space is running low. Are there tools for this? In Linux there is rotate when I remember correctly. But in Windows? It is not about one log file but several log files.
You could create a scheduled task that executes a batch file which deletes files older than x days. The task can then be scheduled to be run daily, monthly, whatever.