Logging configuration

Hi, I’d like to have an implementation about logging described below.
If you already implemented or know how to realize (maybe set up web-config), Please let me know…

<implementation>
If the Uipath log has accumulated for a fixed period (one week / one month, etc.), discard it or zip it and move it to another folder.

<environment>
DB Server : SQL Server 2017

Thanks and Regards