Remove thread names from log messages.

Fixes #6345