Snap for 6630229 from 7b508d88577f682f3fdcb0dcebe51a7c73521041 to rvc-release
Change-Id: Ia850f8a138cac2211608c7cce8f0ce9e324f62ac
diff --git a/src/binder/iiorap_impl.cc b/src/binder/iiorap_impl.cc
index 8c71959..de5a55d 100644
--- a/src/binder/iiorap_impl.cc
+++ b/src/binder/iiorap_impl.cc
@@ -130,7 +130,7 @@
if (listener == nullptr) {
// No listener. Cannot send anything back to the client.
// This could be normal, e.g. client had set listener to null before disconnecting.
- LOG(WARNING) << "Drop result, no listener registered.";
+ LOG(DEBUG) << "Drop result, no listener registered.";
// TODO: print the result with ostream operator<<
return;
}
@@ -153,7 +153,7 @@
if (listener == nullptr) {
// No listener. Cannot send anything back to the client.
// This could be normal, e.g. client had set listener to null before disconnecting.
- LOG(WARNING) << "Drop result, no listener registered.";
+ LOG(DEBUG) << "Drop result, no listener registered.";
// TODO: print the result with ostream operator<<
return;
}
diff --git a/src/binder/package_version_map.cc b/src/binder/package_version_map.cc
index 18fd76d..784bb1b 100644
--- a/src/binder/package_version_map.cc
+++ b/src/binder/package_version_map.cc
@@ -97,7 +97,7 @@
VersionMap::iterator it = version_map_->find(package_name);
if (it == version_map_->end()) {
- LOG(WARNING) << "Cannot find version for: " << package_name
+ LOG(DEBUG) << "Cannot find version for: " << package_name
<< " in the hash table";
std::optional<int64_t> version =
package_manager_->GetPackageVersion(package_name);
diff --git a/src/iorapd/main.cc b/src/iorapd/main.cc
index 929ac54..8d806ba 100644
--- a/src/iorapd/main.cc
+++ b/src/iorapd/main.cc
@@ -33,9 +33,6 @@
if (android::base::GetBoolProperty("iorapd.log.verbose", iorap::kIsDebugBuild)) {
// Show verbose logs if the property is enabled or if we are a debug build.
setenv("ANDROID_LOG_TAGS", "*:v", /*overwrite*/ 1);
- } else {
- // Debug log-level.
- setenv("ANDROID_LOG_TAGS", "*:d", /*overwrite*/ 1);
}
// Logs go to system logcat.
diff --git a/src/maintenance/controller.cc b/src/maintenance/controller.cc
index 639f402..daaf08f 100644
--- a/src/maintenance/controller.cc
+++ b/src/maintenance/controller.cc
@@ -234,7 +234,7 @@
} else if (history.total_time_ns) {
timestamp_limit = *history.total_time_ns;
} else {
- LOG(ERROR) << " No timestamp exists. Using the max value.";
+ LOG(DEBUG) << " No timestamp exists. Using the max value.";
}
perfetto_traces.push_back({raw_trace->file_path, timestamp_limit});
}
diff --git a/src/manager/event_manager.cc b/src/manager/event_manager.cc
index 74c1cfc..bae676b 100644
--- a/src/manager/event_manager.cc
+++ b/src/manager/event_manager.cc
@@ -410,7 +410,7 @@
if (std::filesystem::exists(compiled_trace->file_path)) {
return compiled_trace->file_path;
} else {
- LOG(ERROR) << "Compiled trace in sqlite doesn't exists. file_path: "
+ LOG(DEBUG) << "Compiled trace in sqlite doesn't exists. file_path: "
<< compiled_trace->file_path;
}
}