(tentatively assigning to Krinkle as he has better ideas about how to do this / who to route it to than I do)
When investigating Mediawiki errors of processing user uploads and re-uploading them to Swift, there's nothing in the logs to correlate between the Mediawiki event and anything one might find in the Swift logs:
https://logstash.wikimedia.org/goto/27bc8fe32d4441028fca86d41ae5f535
Simply including the filename-as-PUT'ed-to-Swift in the Mediawiki logs (e.g. wikipedia-commons-local-public.8c/8/8c/Vier_Friedenssteine_%2528K%25C3%25B6sen%2529.jpg) would be sufficient. (The filename that is presently included is a meaningless temporary local disk filename, e.g. /tmp/94aKa9.)