cleanupOldLogs
Deletes log files older than the specified retention period. Handles both base files (YYYY-MM-DD.json) and suffixed files (YYYY-MM-DD-N.json).
Parameters
retentionDays
Number of days to retain log files
Deletes log files older than the specified retention period. Handles both base files (YYYY-MM-DD.json) and suffixed files (YYYY-MM-DD-N.json).
Number of days to retain log files