From 2c4ee75b1ee629df9ddfe2367a9084b95a83a166 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Wed, 20 Jun 2018 14:54:52 -0700 Subject: [PATCH] init: print service name when started waiting Bug: 110479595 Test: Boot Change-Id: I448a64cec4c1cd5b736f8b9d04cd26429067bb71 --- init/service.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init/service.cpp b/init/service.cpp index 565cae731..95b37abe2 100644 --- a/init/service.cpp +++ b/init/service.cpp @@ -787,9 +787,9 @@ Result Service::ExecStart() { flags_ |= SVC_EXEC; is_exec_service_running_ = true; - LOG(INFO) << "SVC_EXEC pid " << pid_ << " (uid " << uid_ << " gid " << gid_ << "+" - << supp_gids_.size() << " context " << (!seclabel_.empty() ? seclabel_ : "default") - << ") started; waiting..."; + LOG(INFO) << "SVC_EXEC service '" << name_ << "' pid " << pid_ << " (uid " << uid_ << " gid " + << gid_ << "+" << supp_gids_.size() << " context " + << (!seclabel_.empty() ? seclabel_ : "default") << ") started; waiting..."; return Success(); }