Discourse logs sent to wrong S3

I was recently doing some cleanup of old files and infrastructure that I no longer needed after running this forum for a while.

I went through a migration of S3 a couple times and I just recently discovered my upload and email logs are still being uploaded to the first S3 ever configured.

I cannot find in the database where this is declared. My app.yml doesn’t point to aws (the first S3) at all.

Where can I find this in the database?