Adding in a fallback where we attempt to find the solr document by filename if the sourceid fails.
Altering how logs are written out, the timestamp will now preceed the filename so the logs are ordered chronologically.