[#42278543] Updated to include thread ID in logging

Without this we cannot identify the different requests in Splunk as the
Syslog ID is process ID/connection based.