Add thread name to the logs