Unfortunately, the IIS web server does not offer the option of automatically deleting older log files, either by continuously writing log files to disk or by writing only one log file of a selectable size.
I have therefore created a small script that deletes the log files after a selectable period of time. The script is available for download:
Using a scheduled task, the script can be executed every week, for example, so that all logs older than 7 days are deleted. Especially with Exchange Client Access Servers, it makes sense to clean up the logs at some point so that the volume does not fill up.
By default, the IIS logs are located on the system drive; this path should be adjusted.