Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Clean up of the old sauce connect logs by the Sauce connect service

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: 
--log-retention-days <n>

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.,

  • Guest
  • Apr 5 2018
  • Attach files