Merge "Modify log level for service and ueventd"
am: 891d0ba904
Change-Id: Ida9ac705e0f763deb731e3f6ed0ac84933294601
This commit is contained in:
commit
42335b04b4
2 changed files with 6 additions and 6 deletions
|
@ -294,7 +294,7 @@ static void add_platform_device(const char *path)
|
|||
name += 9;
|
||||
}
|
||||
|
||||
LOG(INFO) << "adding platform device " << name << " (" << path << ")";
|
||||
LOG(VERBOSE) << "adding platform device " << name << " (" << path << ")";
|
||||
|
||||
bus = (platform_node*) calloc(1, sizeof(struct platform_node));
|
||||
bus->path = strdup(path);
|
||||
|
|
|
@ -561,7 +561,7 @@ bool Service::Start() {
|
|||
}
|
||||
}
|
||||
|
||||
LOG(VERBOSE) << "starting service '" << name_ << "'...";
|
||||
LOG(INFO) << "starting service '" << name_ << "'...";
|
||||
|
||||
pid_t pid = -1;
|
||||
if (namespace_flags_) {
|
||||
|
@ -939,13 +939,13 @@ bool ServiceManager::ReapOneProcess() {
|
|||
}
|
||||
|
||||
if (WIFEXITED(status)) {
|
||||
LOG(VERBOSE) << name << " exited with status " << WEXITSTATUS(status);
|
||||
LOG(INFO) << name << " exited with status " << WEXITSTATUS(status);
|
||||
} else if (WIFSIGNALED(status)) {
|
||||
LOG(VERBOSE) << name << " killed by signal " << WTERMSIG(status);
|
||||
LOG(INFO) << name << " killed by signal " << WTERMSIG(status);
|
||||
} else if (WIFSTOPPED(status)) {
|
||||
LOG(VERBOSE) << name << " stopped by signal " << WSTOPSIG(status);
|
||||
LOG(INFO) << name << " stopped by signal " << WSTOPSIG(status);
|
||||
} else {
|
||||
LOG(VERBOSE) << name << " state changed";
|
||||
LOG(INFO) << name << " state changed";
|
||||
}
|
||||
|
||||
if (!svc) {
|
||||
|
|
Loading…
Reference in a new issue