How to deal with log file size under Windows?

You need to use a logrotate or custom scripts