Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46a59f8e authored by Wei Wang's avatar Wei Wang Committed by android-build-merger
Browse files

Merge "Modify log level for service and ueventd" am: 891d0ba9 am: 42335b04

am: 06515d32

Change-Id: Ie15a869062ef43f1c4ef2fb1540836971fa23363
parents 74ba3b0c 06515d32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+5 −5
Original line number Diff line number Diff line
@@ -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) {