Log process names and thread names.