Add file logging cleanup to clean up old log files for privacy
- Add file logging cleanup to clean up old log files for privacy
This mechanism will be automatically enabled if file logging is enabled for an API, though it can be disabled separately if needed. It will run once a day and scan for files that should be deleted, using the base file prefix, location, and presence of a date stamp to evaluate for deletion.