Added name of the thread to the logging message