/openbmc/openpower-occ-control/ |
H A D | pldm.cpp | 59 lg2::error( in fetchSensorInfo() 70 lg2::error("fetchSensorInfo: state sensor PDRs ({ID}) not present", in fetchSensorInfo() 80 lg2::info("fetchSensorInfo: found {NUM} PDRs", "NUM", pdrs.size()); in fetchSensorInfo() 108 lg2::error("pldm: state sensor PDR not found"); in fetchSensorInfo() 168 lg2::info("PLDM: OCC{INST} is RUNNING", "INST", instance); in sensorEvent() 175 lg2::info("PLDM: OCC{INST} has now STOPPED", "INST", instance); in sensorEvent() 181 lg2::error( in sensorEvent() 190 lg2::warning( in sensorEvent() 221 lg2::warning("pldm: HRESET is NOT READY (OCC{INST})", in sensorEvent() 241 lg2::warning( in sensorEvent() [all …]
|
H A D | occ_command.cpp | 48 lg2::info("{STRING}", "STRING", s); in dump_hex() 63 lg2::debug("OccCommand::OccCommand(path={PATH}, devicePath={DEVICE}", in OccCommand() 71 lg2::debug("OccCommand::openDevice: calling open {PATH}", "PATH", in openDevice() 77 lg2::error( in openDevice() 83 lg2::debug("OccCommand::openDevice: open success"); in openDevice() 93 lg2::debug("OccCommand::closeDevice: calling close()"); in closeDevice() 107 lg2::debug("OccCommand::send: calling openDevice()"); in send() 118 lg2::info("OCC{INST}: Sending {CMD} command (length={LEN}, {PATH})", "INST", in send() 119 occInstance, "CMD", lg2::hex, cmd_type, "LEN", command.size(), in send() 123 lg2::debug("OccCommand::send: calling write()"); in send() [all …]
|
H A D | occ_status.cpp | 27 lg2::info("Status::occActive OCC{INST} changed to {STATE}", "INST", in occActive() 49 lg2::error( in occActive() 126 lg2::error( in occActive() 174 lg2::info(">>Status::resetOCC() - requesting reset for OCC{INST}", "INST", in resetOCC() 211 lg2::debug("Host control signal values: command={CMD}, status={STATUS}", in hostControlEvent() 221 lg2::error( in hostControlEvent() 253 lg2::error( in occsWentActive() 274 lg2::debug( in sendAmbient() 292 lg2::debug("sendAmbient: SEND_AMBIENT " in sendAmbient() 302 lg2::error( in sendAmbient() [all …]
|
H A D | powermode.cpp | 93 lg2::error("PowerMode: Persisted power mode ({MODE}/{DATA}) is not " 107 lg2::info("createIpsObject: Creating IPS object"); in createIpsObject() 135 lg2::info("removeIpsObject: Deleting IPS object"); in removeIpsObject() 148 lg2::error( in setMasterOcc() 159 lg2::debug("PowerMode::setMasterOcc(OCC{INST}, {PATH})", "INST", in setMasterOcc() 172 lg2::info("PowerMode::powerModeLock: locking mode change"); in powerModeLock() 181 lg2::info("PowerMode::powerModeLockStatus: {STATUS}", "STATUS", in powerModeLockStatus() 191 lg2::info("PowerMode::setMode: mode change blocked"); in setMode() 243 lg2::warning("getInternalMode: Invalid PowerMode specified"); in getInternalMode() 286 lg2::error( in convertStringToMode() [all …]
|
H A D | occ_manager.cpp | 114 lg2::info( in findAndCreateObjects() 127 lg2::info( in findAndCreateObjects() 152 lg2::info( in findAndCreateObjects() 162 lg2::info( in findAndCreateObjects() 172 lg2::info("findAndCreateObjects(): disabling sensor timer"); in findAndCreateObjects() 182 lg2::info( in findAndCreateObjects() 203 lg2::info("checkAllActiveSensors(): Host is now running"); in checkAllActiveSensors() 218 lg2::info( in checkAllActiveSensors() 228 lg2::info( in checkAllActiveSensors() 258 lg2::info("checkAllActiveSensors(): Waiting for host to start"); in checkAllActiveSensors() [all …]
|
H A D | powercap.cpp | 32 lg2::info( in print() 58 lg2::error( in save() 88 lg2::error( in load() 97 lg2::error( in load() 130 lg2::error( in updatePcapBounds() 146 lg2::error( in updatePcapBounds() 162 lg2::error( in updatePcapBounds() 186 lg2::error( in updatePcapBounds() 201 lg2::error( in updatePcapBounds() 208 lg2::info( in updatePcapBounds() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | host_notifier.cpp | 66 lg2::debug("Host is already up at startup"); in HostNotifier() 79 lg2::debug("Host up timer expired"); in hostUpTimerExpired() 127 lg2::error("Host Enqueue: Unable to find PEL ID {ID} in repository", in enqueueRequired() 128 "ID", lg2::hex, id); in enqueueRequired() 177 lg2::debug("New PEL added to queue, PEL ID = {ID}", "ID", lg2::hex, in newLogCallback() 211 lg2::debug("Host notifier removing deleted log from queue"); in deleteLogCallback() 218 lg2::debug("Host notifier removing deleted log from sent list"); in deleteLogCallback() 225 lg2::warning( in deleteLogCallback() 227 "ID", lg2::hex, id); in deleteLogCallback() 262 lg2::error( in doNewLogNotify() [all …]
|
H A D | sbe_ffdc_handler.cpp | 77 lg2::info("SBE FFDC processing requested"); in SbeFFDC() 85 lg2::error("Fail to extract SRC6 data: failing to get proc index"); in SbeFFDC() 94 lg2::error("Conversion failure errormsg({ERR})", "ERR", err); in SbeFFDC() 106 lg2::error("Conversion failure errormsg({ERR})", "ERR", err); in SbeFFDC() 113 lg2::info("SbeFFDC : No files found, skipping ffdc processing"); in SbeFFDC() 130 lg2::info("SBE FFDC file fd:({FD}), parsing started", "FD", fd); in parse() 139 lg2::error("Empty SBE FFDC file fd:({FD}), skipping", "FD", fd); in parse() 159 lg2::info( in parse() 178 lg2::error("FFDC packet size is zero skipping"); in parse() 190 lg2::info( in parse() [all …]
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | passwd_mgr.cpp | 78 lg2::debug("Error setting chmod for ipmi_pass file"); in restrictFilesPermission() 89 lg2::debug("Error setting chmod for ipmi_pass file"); in restrictFilesPermission() 117 lg2::debug("User not found"); in updateUserEntry() 125 lg2::debug("Passwd file update failed"); in updateUserEntry() 129 lg2::debug("Passwd file updated successfully"); in updateUserEntry() 138 lg2::debug("Reloading password map list"); in checkAndReload() 154 lg2::debug("Error Invalid Inputs"); in encryptDecryptData() 168 lg2::debug("Error: Failed to calculate MAC"); in encryptDecryptData() 174 lg2::debug("Authenticated message doesn't match"); in encryptDecryptData() 184 lg2::debug("Error: EVP_CIPHER_CTX is NULL"); in encryptDecryptData() [all …]
|
H A D | channel_mgmt.cpp | 28 #include <phosphor-logging/lg2.hpp> 153 lg2::error("Invalid channel number: {CHANNEL_ID}", "CHANNEL_ID", chNum); in getChannelName() 170 lg2::error("Invalid channel name: {CHANNEL}", "CHANNEL", chName); in convertToChannelNumberFromChannelName() 182 lg2::error("Invalid object path: {PATH}", "PATH", path); in getChannelNameFromPath() 200 lg2::error("Exception: {MSG}", "MSG", e.what()); in processChAccessPropChange() 219 lg2::error("Unknown signal caught."); in processChAccessPropChange() 225 lg2::error("Invalid privilege string for intf {INTF}", "INTF", chName); in processChAccessPropChange() 238 lg2::error("Exception: {MSG}", "MSG", e.what()); in processChAccessPropChange() 248 lg2::debug("Request originated from IPMI so ignoring signal"); in processChAccessPropChange() 263 lg2 in processChAccessPropChange() [all...] |
/openbmc/phosphor-networkd/src/ |
H A D | ncsi_util.cpp | 88 lg2::error("Internal error: invalid info callback context"); in __anon66112f010102() 117 lg2::error("No Packages"); in __anon66112f010102() 124 lg2::error("Package list attribute is null"); in __anon66112f010102() 135 lg2::error("Failed to parse package nested"); in __anon66112f010102() 148 lg2::debug("Package with no id"); in __anon66112f010102() 167 lg2::error("Failed to parse channel nested"); in __anon66112f010102() 181 lg2::debug("Channel with no ID"); in __anon66112f010102() 242 lg2::error("Internal error: invalid send callback context"); in __anon66112f010202() 251 lg2::error("Failed to parse message"); in __anon66112f010202() 257 lg2::error("Response: No data"); in __anon66112f010202() [all …]
|
H A D | ncsi_netlink_main.cpp | 22 #include <phosphor-logging/lg2.hpp> 32 lg2::error("ERROR: {ERROR}", "ERROR", err); in exitWithError() 42 lg2::debug("Package id : {ID}", "ID", pkg.id); in printInfo() 45 lg2::debug(" package is forced"); in printInfo() 49 lg2::debug(" Channel id : {ID}", "ID", chan.id); in printInfo() 52 lg2::debug(" channel is forced"); in printInfo() 56 lg2::debug(" channel is active"); in printInfo() 59 lg2::debug(" version {MAJOR}.{MINOR} ({STR})", "MAJOR", in printInfo() 63 lg2::debug(" link state {LINK}", "LINK", lg2 in printInfo() [all...] |
/openbmc/x86-power-control/src/ |
H A D | power_control.cpp | 210 lg2::info("Beep with priority: {BEEP_PRIORITY}", "BEEP_PRIORITY", in beep() 217 lg2::error( in beep() 263 lg2::info("Moving os state to {STATE} stage", "STATE", in setOperatingSystemState() 322 lg2::info("Host{HOST}: Moving to \"{STATE}\" state", "HOST", node, "STATE", in logStateTransition() 432 lg2::info("{STATE_HANDLER}: {EVENT} event received", "STATE_HANDLER", in logEvent() 493 lg2::error("Failed to find handler for power state: {STATE}", "STATE", in sendPowerControlEvent() 601 lg2::error("Power-state save async_wait failed: {ERROR_MSG}", in savePowerState() 679 lg2::info("RestartCause set to {RESTART_CAUSE}", "RESTART_CAUSE", cause); in setRestartCauseProperty() 693 lg2::error("failed to reset ACBoot property"); in resetACBootProperty() 810 lg2::error("failed to create {DIR_NAME}: {ERROR_MSG}", "DIR_NAME", in PersistentState() [all …]
|
/openbmc/pldm/platform-mc/ |
H A D | platform_manager.cpp | 35 lg2::error( in initTerminus() 41 lg2::info("Fru record table meta data has 0 records"); in initTerminus() 53 lg2::error( in initTerminus() 64 lg2::error( in initTerminus() 95 lg2::error( in initTerminus() 108 lg2::error( in initTerminus() 119 lg2::error( in initTerminus() 157 lg2::error( in configEventReceiver() 166 lg2::error("Terminus {TID} does not support Event", "TID", tid); in configEventReceiver() 215 lg2::error( in configEventReceiver() [all …]
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/ |
H A D | flags.hpp | 7 namespace lg2 namespace 90 using lg2::bin; \ 91 using lg2::dec; \ 92 using lg2::field8; \ 93 using lg2::field16; \ 94 using lg2::field32; \ 95 using lg2::field64; \ 96 using lg2::floating; \ 97 using lg2::hex; \ 98 using lg2::signed_val; \ [all …]
|
/openbmc/estoraged/src/ |
H A D | estoraged.cpp | 164 lg2::info("Starting format", "REDFISH_MESSAGE_ID", msg); in formatLuks() 168 lg2::error("Only ext4 filesystems are supported currently", in formatLuks() 183 lg2::info("Starting erase", "REDFISH_MESSAGE_ID", in erase() 245 lg2::info("Starting lock", "REDFISH_MESSAGE_ID", msg); in lock() 254 lg2::info("Starting unlock", "REDFISH_MESSAGE_ID", msg); in unlock() 263 lg2::info("Starting change password", "REDFISH_MESSAGE_ID", in changePassword() 274 lg2::error("Failed to change password", "REDFISH_MESSAGE_ID", in changePassword() 279 lg2::info("Successfully changed password for {DEV}", "DEV", devPath, in changePassword() 297 lg2::error("Failed to query locked status: {EXCEPT}", "EXCEPT", in isLocked() 312 lg2::info("Formatting device {DEV}", "DEV", devPath, "REDFISH_MESSAGE_ID", in formatLuksDev() [all …]
|
/openbmc/phosphor-power/tools/power-utils/ |
H A D | aei_updater.cpp | 99 lg2::error("Failed to set ISP Key"); in doUpdate() 189 lg2::error("I2C write failed: {ERROR}", "ERROR", e); in writeIspKey() 211 lg2::info("Set ISP Mode"); in writeIspMode() 218 lg2::error("I2C error during ISP mode write/read: {ERROR}", "ERROR", in writeIspMode() 223 lg2::error("Failed to set ISP Mode"); in writeIspMode() 242 lg2::error("I2C Write ISP reset failed: {ERROR}", "ERROR", e); in writeIspStatusReset() 253 lg2::info("Read/Write ISP reset"); in writeIspStatusReset() 259 lg2::error("Read/Write ISP reset failed"); in writeIspStatusReset() 264 lg2::error("I2C Read/Write error during ISP reset: {ERROR}", in writeIspStatusReset() 269 lg2::error("Failed to reset ISP Status"); in writeIspStatusReset() [all …]
|
/openbmc/phosphor-certificate-manager/ |
H A D | x509_utils.cpp | 63 lg2::error("Error occurred during X509_STORE_new call"); in getX509Store() 75 lg2::error("Error occurred during X509_STORE_add_lookup call"); in getX509Store() 83 lg2::error( in getX509Store() 97 lg2::error( in loadCert() 106 lg2::error("Error occurred during BIO_new_file call, FILE:{FILE}", in loadCert() 114 lg2::error("Error occurred during PEM_read_bio_X509 call, FILE:{FILE}", in loadCert() 137 lg2::error("Certificate valid date starts before the Unix Epoch"); in validateCertificateStartDate() 149 lg2::error("Error occurred during X509_STORE_CTX_new call"); in validateCertificateAgainstStore() 156 lg2::error("Error occurred during X509_STORE_CTX_init call"); in validateCertificateAgainstStore() 174 lg2::info( in validateCertificateAgainstStore() [all …]
|
H A D | certs_manager.cpp | 100 lg2::error("Failed to read certificates list, ERR:{ERR}, SRC:{SRC}", in splitCertificates() 117 lg2::error( in splitCertificates() 168 lg2::error( in Manager() 194 lg2::info("Inotify callback to update " in Manager() 200 lg2::info( in Manager() 222 lg2::notice( in Manager() 229 lg2::error("Unable to remove old certificate from," in Manager() 238 lg2::error( in Manager() 246 lg2::error( in Manager() 302 lg2::error("File is Missing, FILE:{FILE}", "FILE", filePath); in installAll() [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | handler.hpp | 23 #include <phosphor-logging/lg2.hpp> 270 lg2::info("Handler produced exception, NetFn: {NETFN}, " in executeCallback() 272 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() 278 lg2::error("Handler failed to catch exception, NetFn: {NETFN}, " in executeCallback() 280 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() 291 lg2::error("Handler failed to catch exception, NetFn: {NETFN}, " in executeCallback() 293 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2 in executeCallback() [all...] |
/openbmc/phosphor-host-ipmid/ |
H A D | ipmid-new.cpp | 191 lg2::debug("registered OEM Handler: NetFn/Cmd={NETFNCMD}", "IANA", in registerOemHandler() 192 lg2::hex, iana, "CMD", lg2::hex, cmd, "NETFNCMD", lg2::hex, in registerOemHandler() 197 lg2::warning("could not register OEM Handler: NetFn/Cmd={NETFNCMD}", "IANA", in registerOemHandler() 198 lg2::hex, iana, "CMD", lg2::hex, cmd, "NETFNCMD", lg2::hex, in registerOemHandler() 256 lg2::debug("request for NetFn/Cmd {NETFN}/{CMD} has been filtered", in executeIpmiCommandCommon() 257 "NETFN", lg2::hex, keyCommon, "CMD", lg2::hex, cmd); in executeIpmiCommandCommon() 276 lg2::debug( in executeIpmiCommandCommon() 278 "NETFN", lg2::hex, keyCommon, "CMD", lg2::hex, cmd); in executeIpmiCommandCommon() 319 lg2::debug("unpack IANA {IANA}", "IANA", lg2::hex, iana); in executeIpmiOemCommand() 372 lg2::error("Error getting dbus owner for {INTERFACE}", in updateOwners() [all …]
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/ |
H A D | meson.build | 26 'lg2.hpp', 33 'lg2/concepts.hpp', 34 'lg2/conversion.hpp', 35 'lg2/flags.hpp', 36 'lg2/header.hpp', 37 'lg2/level.hpp', 38 'lg2/logger.hpp', 39 subdir: 'phosphor-logging/lg2',
|
H A D | lg2.hpp | 15 namespace lg2 namespace 83 using lg2::emergency; \ 84 using lg2::alert; \ 85 using lg2::critical; \ 86 using lg2::error; \ 87 using lg2::warning; \ 88 using lg2::notice; \ 89 using lg2::info; \ 90 using lg2::debug
|
/openbmc/openpower-debug-collector/dump/ |
H A D | sbe_dump_collector.cpp | 40 lg2::error("Starting dump collection: type:{TYPE} id:{ID} " in collectDump() 114 lg2::error("Failed to collect dump from SBE ErrorMsg({ERROR})", in collectDump() 118 lg2::info( in collectDump() 126 lg2::error("Failed to collect the dump"); in collectDump() 129 lg2::info("Dump collection completed"); in collectDump() 156 lg2::error( in spawnDumpCollectionProcesses() 174 lg2::error( in spawnDumpCollectionProcesses() 204 lg2::info("log error {CHIP} {POSITION}", "CHIP", chipName, "POSITION", in logErrorAndCreatePEL() 229 lg2::error("No FFDC data after a chip-op failure {CHIP} {POSITION}", in logErrorAndCreatePEL() 238 lg2::info( in logErrorAndCreatePEL() [all …]
|
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/common/ |
H A D | pldm_utils.cpp | 45 lg2::error("Error calling pldm_instance_db_init_default, rc = {RC}", in initPLDMInstanceIdDb() 58 lg2::error("pldm_instance_db_destroy failed rc = {RC}", "RC", rc); in destroyPLDMInstanceIdDb() 75 lg2::error("Failed to get instance id, rc = {RC}", "RC", rc); in getPLDMInstanceID() 80 lg2::info("Got instanceId: {INSTANCE_ID} from PLDM eid: {EID}", in getPLDMInstanceID() 91 lg2::error( in freePLDMInstanceID() 102 lg2::error("open: pldmTransport already setup!"); in openPLDM() 113 lg2::error("openPLDM failed, errno: {ERRNO}, FD: FD", "ERRNO", e, "FD", in openPLDM() 127 lg2::error( in openMctpDemuxTransport() 136 lg2::error( in openMctpDemuxTransport() 148 lg2::error("openMctpDemuxTransport: Failed to get pollfd. rc = {RC}", in openMctpDemuxTransport()
|