Merge "maintenance: Always log the name of activity to be compiled." into rvc-dev am: 6d0924664f am: 1461d3ba06 am: 67c3289db5 am: afea9f3ca6

Change-Id: I9a2e013456223a28386e1228a1f20fdf3efd5b6c
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);