Currently the SauceConnect proxy service do not support deleting any old logs that are n days old. It supports to rotate the log after reaching the specified size.
So we need to end up coming up with a scheduled task to clean up the old logs.
It would be ideal for the service to have this capability. We can add a new command line flag like:
When this flag is specified any older logs that are >= n+1 can be deleted.
With this feature: we do not need to
a. manage the log clean up through another script\cron job
b. we need to ensure that job is replicated on all sauce connect node etc.,