Preparing search index...

    Function deleteOldLogFiles

    • Deletes log files older than LOG_RETENTION_DAYS days from the documents directory.

      Scans the documents directory for files matching the recipedia-logs-*.txt pattern, parses their date suffix, and removes those past the retention threshold.

      Returns void