Add thread_name and logger_name fields