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

Commit 891d0ba9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Modify log level for service and ueventd"

parents 1f904858 a285dac9
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) {