Merge "maintenance: Always log the name of activity to be compiled." into rvc-dev am: 6d0924664f am: b1dbba89ef am: 04d414c9f8
Change-Id: If38c421868b8e5cdd5deb33dec8341bacf791a91
diff --git a/src/maintenance/controller.cc b/src/maintenance/controller.cc
index dab867b..eb3fb6f 100644
--- a/src/maintenance/controller.cc
+++ b/src/maintenance/controller.cc
@@ -210,8 +210,7 @@
std::optional<db::RawTraceModel> raw_trace =
db::RawTraceModel::SelectByHistoryId(db, history.id);
if (!raw_trace) {
- LOG(ERROR) << "Cannot find raw trace for history_id: "
- << history.id;
+ // This is normal: non-cold launches do not have traces.
continue;
}
@@ -263,6 +262,8 @@
"Compile activity %s",
activity_name.c_str());
+ LOG(DEBUG) << "CompileActivity: " << package_name << "/" << activity_name << "@" << version;
+
db::CompiledTraceFileModel output_file =
CalculateNewestFilePath(package_name, activity_name, version);