Modify log level for service and ueventd

Bug: 31938558
Test: flash and take a boot log
Change-Id: I5c6823614e1df760128519dfb294f3a44efa6bac
This commit is contained in:
Wei Wang 2016-10-04 14:05:39 -07:00
parent 631ce33fc9
commit dc9946f17c
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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) {