[#42278543] Include thread ID in the logging output