Merge "Modify log level for service and ueventd"

This commit is contained in:
Treehugger Robot 2016-10-05 04:34:42 +00:00 committed by Gerrit Code Review
commit 891d0ba904
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) {