Adding thread name as prefix to logging.