Index: webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc |
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc b/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc |
index f8fda492236d78f1847f5c6d4dfc214732daf65c..ad0167b76041fe2b2b2489ed446d333977ba2d7f 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc |
@@ -14,7 +14,6 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/base/timeutils.h" |
-#include "webrtc/system_wrappers/include/logging.h" |
#ifdef ENABLE_RTC_EVENT_LOG |
@@ -67,7 +66,6 @@ RtcEventLogHelperThread::~RtcEventLogHelperThread() { |
// any STOP_FILE events, then the threads calling StopLogging would likely |
// wait indefinitely. However, there should not be any such calls as we |
// are executing the destructor. |
- LOG(LS_WARNING) << "Clearing message queue to terminate thread."; |
message_queue_->Clear(); |
} |
wake_from_hibernation_.Set(); |
@@ -153,7 +151,6 @@ void RtcEventLogHelperThread::StartLogFile() { |
// Write to file. |
if (!file_->Write(output_string_.data(), output_string_.size())) { |
- LOG(LS_ERROR) << "FileWrapper failed to write WebRtcEventLog file."; |
// The current FileWrapper implementation closes the file on error. |
RTC_DCHECK(!file_->is_open()); |
return; |
@@ -198,7 +195,6 @@ bool RtcEventLogHelperThread::LogToFile() { |
// Write string to file. |
if (!file_->Write(output_string_.data(), output_string_.size())) { |
- LOG(LS_ERROR) << "FileWrapper failed to write WebRtcEventLog file."; |
// The current FileWrapper implementation closes the file on error. |
RTC_DCHECK(!file_->is_open()); |
return message_received; |
@@ -233,7 +229,6 @@ void RtcEventLogHelperThread::StopLogFile() { |
if (written_bytes_ + static_cast<int64_t>(output_string_.size()) <= |
max_size_bytes_) { |
if (!file_->Write(output_string_.data(), output_string_.size())) { |
- LOG(LS_ERROR) << "FileWrapper failed to write WebRtcEventLog file."; |
// The current FileWrapper implementation closes the file on error. |
RTC_DCHECK(!file_->is_open()); |
} |