Lines Matching full:unit
55 const std::string& unit) in logError() argument
65 std::pair<std::string, std::string>({"SYSTEMD_UNIT", unit})})); in logError()
78 std::string SystemdTargetLogging::processError(const std::string& unit, in processError() argument
81 auto targetEntry = this->targetData.find(unit); in processError()
90 "Monitored systemd unit has hit an error, unit:{UNIT}, result:{RESULT}", in processError()
91 "UNIT", unit, "RESULT", result); in processError()
100 if (std::find(this->serviceData.begin(), this->serviceData.end(), unit) != in processError()
106 "Monitored systemd service has hit an error, unit:{UNIT}, result:{RESULT}", in processError()
107 "UNIT", unit, "RESULT", result); in processError()
125 std::string unit{}; in systemdUnitChange() local
128 msg.read(id, objPath, unit, result); in systemdUnitChange()
133 const std::string error = processError(unit, result); in systemdUnitChange()
138 logError(error, result, unit); in systemdUnitChange()