Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 1 | /** |
| 2 | * Copyright © 2018 IBM Corporation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | #include "config.h" |
Matt Spinler | 66e0707 | 2018-09-12 10:36:14 -0500 | [diff] [blame] | 17 | |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 18 | #include "manager.hpp" |
Matt Spinler | 66e0707 | 2018-09-12 10:36:14 -0500 | [diff] [blame] | 19 | |
| 20 | #include "callout.hpp" |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 21 | #include "policy_find.hpp" |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 22 | |
Matt Spinler | 66e0707 | 2018-09-12 10:36:14 -0500 | [diff] [blame] | 23 | #include <phosphor-logging/log.hpp> |
| 24 | |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 25 | namespace ibm |
| 26 | { |
| 27 | namespace logging |
| 28 | { |
| 29 | |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 30 | namespace fs = std::experimental::filesystem; |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 31 | using namespace phosphor::logging; |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 32 | |
Patrick Williams | 8123a71 | 2022-07-22 19:26:53 -0500 | [diff] [blame] | 33 | Manager::Manager(sdbusplus::bus_t& bus) : |
Matt Spinler | 259e727 | 2018-03-29 10:57:17 -0500 | [diff] [blame] | 34 | bus(bus), |
| 35 | addMatch(bus, |
| 36 | sdbusplus::bus::match::rules::interfacesAdded() + |
| 37 | sdbusplus::bus::match::rules::path_namespace(LOGGING_PATH), |
| 38 | std::bind(std::mem_fn(&Manager::interfaceAdded), this, |
Matt Spinler | 055da3b | 2018-05-09 15:51:20 -0500 | [diff] [blame] | 39 | std::placeholders::_1)), |
| 40 | removeMatch(bus, |
| 41 | sdbusplus::bus::match::rules::interfacesRemoved() + |
| 42 | sdbusplus::bus::match::rules::path_namespace(LOGGING_PATH), |
| 43 | std::bind(std::mem_fn(&Manager::interfaceRemoved), this, |
| 44 | std::placeholders::_1)) |
Matt Spinler | 743e582 | 2018-03-27 13:44:50 -0500 | [diff] [blame] | 45 | #ifdef USE_POLICY_INTERFACE |
Matt Spinler | 259e727 | 2018-03-29 10:57:17 -0500 | [diff] [blame] | 46 | , |
| 47 | policies(POLICY_JSON_PATH) |
Matt Spinler | 743e582 | 2018-03-27 13:44:50 -0500 | [diff] [blame] | 48 | #endif |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 49 | { |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 50 | createAll(); |
| 51 | } |
| 52 | |
| 53 | void Manager::createAll() |
| 54 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 55 | try |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 56 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 57 | auto objects = getManagedObjects(bus, LOGGING_BUSNAME, LOGGING_PATH); |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 58 | |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 59 | for (const auto& object : objects) |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 60 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 61 | const auto& interfaces = object.second; |
| 62 | |
| 63 | auto propertyMap = interfaces.find(LOGGING_IFACE); |
| 64 | |
| 65 | if (propertyMap != interfaces.end()) |
| 66 | { |
| 67 | createWithRestore(object.first, interfaces); |
| 68 | } |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 69 | } |
| 70 | } |
Patrick Williams | 8123a71 | 2022-07-22 19:26:53 -0500 | [diff] [blame] | 71 | catch (const sdbusplus::exception_t& e) |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 72 | { |
| 73 | log<level::ERR>("sdbusplus error getting logging managed objects", |
| 74 | entry("ERROR=%s", e.what())); |
| 75 | } |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 76 | } |
| 77 | |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 78 | void Manager::createWithRestore(const std::string& objectPath, |
| 79 | const DbusInterfaceMap& interfaces) |
Matt Spinler | 54bfa7e | 2018-03-27 11:28:59 -0500 | [diff] [blame] | 80 | { |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 81 | createObject(objectPath, interfaces); |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 82 | |
Matt Spinler | 60f53d8 | 2018-05-23 13:23:09 -0500 | [diff] [blame] | 83 | restoreCalloutObjects(objectPath, interfaces); |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 84 | } |
| 85 | |
| 86 | void Manager::create(const std::string& objectPath, |
| 87 | const DbusInterfaceMap& interfaces) |
| 88 | { |
| 89 | createObject(objectPath, interfaces); |
| 90 | |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 91 | createCalloutObjects(objectPath, interfaces); |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | void Manager::createObject(const std::string& objectPath, |
| 95 | const DbusInterfaceMap& interfaces) |
| 96 | { |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 97 | #ifdef USE_POLICY_INTERFACE |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 98 | auto logInterface = interfaces.find(LOGGING_IFACE); |
| 99 | createPolicyInterface(objectPath, logInterface->second); |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 100 | #endif |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 101 | } |
| 102 | |
Matt Spinler | a139035 | 2018-05-23 10:48:19 -0500 | [diff] [blame] | 103 | void Manager::erase(EntryID id) |
| 104 | { |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 105 | fs::remove_all(getSaveDir(id)); |
Matt Spinler | 677143b | 2018-05-23 10:53:27 -0500 | [diff] [blame] | 106 | childEntries.erase(id); |
Matt Spinler | a139035 | 2018-05-23 10:48:19 -0500 | [diff] [blame] | 107 | entries.erase(id); |
| 108 | } |
| 109 | |
Matt Spinler | 491fc6f | 2018-04-23 11:00:52 -0500 | [diff] [blame] | 110 | void Manager::addInterface(const std::string& objectPath, InterfaceType type, |
Matt Spinler | 54ea3ad | 2018-10-23 10:40:09 -0500 | [diff] [blame] | 111 | std::any& object) |
Matt Spinler | 491fc6f | 2018-04-23 11:00:52 -0500 | [diff] [blame] | 112 | { |
| 113 | auto id = getEntryID(objectPath); |
| 114 | auto entry = entries.find(id); |
| 115 | |
| 116 | if (entry == entries.end()) |
| 117 | { |
| 118 | InterfaceMap interfaces; |
| 119 | interfaces.emplace(type, object); |
| 120 | entries.emplace(id, std::move(interfaces)); |
| 121 | } |
| 122 | else |
| 123 | { |
| 124 | entry->second.emplace(type, object); |
| 125 | } |
| 126 | } |
| 127 | |
Matt Spinler | 677143b | 2018-05-23 10:53:27 -0500 | [diff] [blame] | 128 | void Manager::addChildInterface(const std::string& objectPath, |
Matt Spinler | 54ea3ad | 2018-10-23 10:40:09 -0500 | [diff] [blame] | 129 | InterfaceType type, std::any& object) |
Matt Spinler | 677143b | 2018-05-23 10:53:27 -0500 | [diff] [blame] | 130 | { |
| 131 | auto id = getEntryID(objectPath); |
| 132 | auto entry = childEntries.find(id); |
| 133 | |
| 134 | // childEntries is: |
| 135 | // A map of error log entry IDs to: |
| 136 | // a map of interface types to: |
| 137 | // a vector of interface objects |
| 138 | |
| 139 | if (entry == childEntries.end()) |
| 140 | { |
| 141 | ObjectList objects{object}; |
| 142 | InterfaceMapMulti interfaces; |
| 143 | interfaces.emplace(type, std::move(objects)); |
| 144 | childEntries.emplace(id, std::move(interfaces)); |
| 145 | } |
| 146 | else |
| 147 | { |
| 148 | auto i = entry->second.find(type); |
| 149 | if (i == entry->second.end()) |
| 150 | { |
Matt Spinler | 1b38809 | 2022-06-03 13:41:17 -0500 | [diff] [blame] | 151 | ObjectList objects{object}; |
Matt Spinler | 677143b | 2018-05-23 10:53:27 -0500 | [diff] [blame] | 152 | entry->second.emplace(type, objects); |
| 153 | } |
| 154 | else |
| 155 | { |
| 156 | i->second.emplace_back(object); |
| 157 | } |
| 158 | } |
| 159 | } |
| 160 | |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 161 | #ifdef USE_POLICY_INTERFACE |
Matt Spinler | 259e727 | 2018-03-29 10:57:17 -0500 | [diff] [blame] | 162 | void Manager::createPolicyInterface(const std::string& objectPath, |
| 163 | const DbusPropertyMap& properties) |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 164 | { |
| 165 | auto values = policy::find(policies, properties); |
| 166 | |
Patrick Williams | c076362 | 2022-04-05 21:34:12 -0500 | [diff] [blame] | 167 | auto object = std::make_shared<PolicyObject>( |
| 168 | bus, objectPath.c_str(), PolicyObject::action::defer_emit); |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 169 | |
| 170 | object->eventID(std::get<policy::EIDField>(values)); |
| 171 | object->description(std::get<policy::MsgField>(values)); |
| 172 | |
Matt Spinler | 9bea4ea | 2018-05-09 15:53:04 -0500 | [diff] [blame] | 173 | object->emit_object_added(); |
| 174 | |
Matt Spinler | 54ea3ad | 2018-10-23 10:40:09 -0500 | [diff] [blame] | 175 | std::any anyObject = object; |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 176 | |
Matt Spinler | 491fc6f | 2018-04-23 11:00:52 -0500 | [diff] [blame] | 177 | addInterface(objectPath, InterfaceType::POLICY, anyObject); |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 178 | } |
| 179 | #endif |
| 180 | |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 181 | void Manager::createCalloutObjects(const std::string& objectPath, |
| 182 | const DbusInterfaceMap& interfaces) |
| 183 | { |
| 184 | // Use the associations property in the org.openbmc.Associations |
| 185 | // interface to find any callouts. Then grab all properties on |
| 186 | // the Asset interface for that object in the inventory to use |
| 187 | // in our callout objects. |
| 188 | |
| 189 | auto associations = interfaces.find(ASSOC_IFACE); |
| 190 | if (associations == interfaces.end()) |
| 191 | { |
| 192 | return; |
| 193 | } |
| 194 | |
| 195 | const auto& properties = associations->second; |
Matt Spinler | 4c0e894 | 2019-11-06 11:29:45 -0600 | [diff] [blame] | 196 | auto assocProperty = properties.find("Associations"); |
Patrick Williams | b5af3a3 | 2020-05-13 11:11:32 -0500 | [diff] [blame] | 197 | auto assocValue = std::get<AssociationsPropertyType>(assocProperty->second); |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 198 | |
| 199 | auto id = getEntryID(objectPath); |
| 200 | auto calloutNum = 0; |
| 201 | DbusSubtree subtree; |
| 202 | |
| 203 | for (const auto& association : assocValue) |
| 204 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 205 | try |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 206 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 207 | if (std::get<forwardPos>(association) != "callout") |
| 208 | { |
| 209 | continue; |
| 210 | } |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 211 | |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 212 | auto callout = std::get<endpointPos>(association); |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 213 | |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 214 | if (subtree.empty()) |
| 215 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 216 | subtree = getSubtree(bus, "/", 0, ASSET_IFACE); |
| 217 | if (subtree.empty()) |
| 218 | { |
| 219 | break; |
| 220 | } |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 221 | } |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 222 | |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 223 | auto service = getService(callout, ASSET_IFACE, subtree); |
| 224 | if (service.empty()) |
| 225 | { |
| 226 | continue; |
| 227 | } |
| 228 | |
| 229 | auto properties = |
| 230 | getAllProperties(bus, service, callout, ASSET_IFACE); |
| 231 | if (properties.empty()) |
| 232 | { |
| 233 | continue; |
| 234 | } |
| 235 | |
| 236 | auto calloutPath = getCalloutObjectPath(objectPath, calloutNum); |
| 237 | |
| 238 | auto object = std::make_shared<Callout>( |
| 239 | bus, calloutPath, callout, calloutNum, |
| 240 | getLogTimestamp(interfaces), properties); |
| 241 | |
| 242 | auto dir = getCalloutSaveDir(id); |
| 243 | if (!fs::exists(dir)) |
| 244 | { |
| 245 | fs::create_directories(dir); |
| 246 | } |
| 247 | object->serialize(dir); |
| 248 | |
Matt Spinler | 54ea3ad | 2018-10-23 10:40:09 -0500 | [diff] [blame] | 249 | std::any anyObject = object; |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 250 | addChildInterface(objectPath, InterfaceType::CALLOUT, anyObject); |
| 251 | calloutNum++; |
| 252 | } |
Patrick Williams | 8123a71 | 2022-07-22 19:26:53 -0500 | [diff] [blame] | 253 | catch (const sdbusplus::exception_t& e) |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 254 | { |
Matt Spinler | 34af47f | 2018-07-16 14:07:03 -0500 | [diff] [blame] | 255 | log<level::ERR>("sdbusplus exception", entry("ERROR=%s", e.what())); |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 256 | } |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 257 | } |
| 258 | } |
| 259 | |
Matt Spinler | 60f53d8 | 2018-05-23 13:23:09 -0500 | [diff] [blame] | 260 | void Manager::restoreCalloutObjects(const std::string& objectPath, |
| 261 | const DbusInterfaceMap& interfaces) |
| 262 | { |
| 263 | auto saveDir = getCalloutSaveDir(getEntryID(objectPath)); |
| 264 | |
| 265 | if (!fs::exists(saveDir)) |
| 266 | { |
| 267 | return; |
| 268 | } |
| 269 | |
| 270 | size_t id; |
| 271 | for (auto& f : fs::directory_iterator(saveDir)) |
| 272 | { |
| 273 | try |
| 274 | { |
| 275 | id = std::stoul(f.path().filename()); |
| 276 | } |
Patrick Williams | bf9ea8a | 2021-10-06 13:10:21 -0500 | [diff] [blame] | 277 | catch (const std::exception& e) |
Matt Spinler | 60f53d8 | 2018-05-23 13:23:09 -0500 | [diff] [blame] | 278 | { |
Matt Spinler | 60f53d8 | 2018-05-23 13:23:09 -0500 | [diff] [blame] | 279 | log<level::ERR>("Invalid IBM logging callout save file. Deleting", |
| 280 | entry("FILE=%s", f.path().c_str())); |
| 281 | fs::remove(f.path()); |
| 282 | continue; |
| 283 | } |
| 284 | |
| 285 | auto path = getCalloutObjectPath(objectPath, id); |
| 286 | auto callout = std::make_shared<Callout>(bus, path, id, |
| 287 | getLogTimestamp(interfaces)); |
| 288 | if (callout->deserialize(saveDir)) |
| 289 | { |
| 290 | callout->emit_object_added(); |
Matt Spinler | 54ea3ad | 2018-10-23 10:40:09 -0500 | [diff] [blame] | 291 | std::any anyObject = callout; |
Matt Spinler | 60f53d8 | 2018-05-23 13:23:09 -0500 | [diff] [blame] | 292 | addChildInterface(objectPath, InterfaceType::CALLOUT, anyObject); |
| 293 | } |
| 294 | } |
| 295 | } |
| 296 | |
Patrick Williams | 8123a71 | 2022-07-22 19:26:53 -0500 | [diff] [blame] | 297 | void Manager::interfaceAdded(sdbusplus::message_t& msg) |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 298 | { |
| 299 | sdbusplus::message::object_path path; |
| 300 | DbusInterfaceMap interfaces; |
| 301 | |
| 302 | msg.read(path, interfaces); |
| 303 | |
Matt Spinler | 259e727 | 2018-03-29 10:57:17 -0500 | [diff] [blame] | 304 | // Find the Logging.Entry interface with all of its properties |
| 305 | // to pass to create(). |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 306 | if (interfaces.find(LOGGING_IFACE) != interfaces.end()) |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 307 | { |
Matt Spinler | e6a5159 | 2018-05-23 12:47:10 -0500 | [diff] [blame] | 308 | create(path, interfaces); |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 309 | } |
| 310 | } |
Matt Spinler | 055da3b | 2018-05-09 15:51:20 -0500 | [diff] [blame] | 311 | |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 312 | uint64_t Manager::getLogTimestamp(const DbusInterfaceMap& interfaces) |
| 313 | { |
| 314 | auto interface = interfaces.find(LOGGING_IFACE); |
| 315 | if (interface != interfaces.end()) |
| 316 | { |
| 317 | auto property = interface->second.find("Timestamp"); |
| 318 | if (property != interface->second.end()) |
| 319 | { |
Patrick Williams | b5af3a3 | 2020-05-13 11:11:32 -0500 | [diff] [blame] | 320 | return std::get<uint64_t>(property->second); |
Matt Spinler | 52ee71b | 2018-05-23 13:18:55 -0500 | [diff] [blame] | 321 | } |
| 322 | } |
| 323 | |
| 324 | return 0; |
| 325 | } |
| 326 | |
| 327 | fs::path Manager::getSaveDir(EntryID id) |
| 328 | { |
| 329 | return fs::path{ERRLOG_PERSIST_PATH} / std::to_string(id); |
| 330 | } |
| 331 | |
| 332 | fs::path Manager::getCalloutSaveDir(EntryID id) |
| 333 | { |
| 334 | return getSaveDir(id) / "callouts"; |
| 335 | } |
| 336 | |
| 337 | std::string Manager::getCalloutObjectPath(const std::string& objectPath, |
| 338 | uint32_t calloutNum) |
| 339 | { |
| 340 | return fs::path{objectPath} / "callouts" / std::to_string(calloutNum); |
| 341 | } |
| 342 | |
Patrick Williams | 8123a71 | 2022-07-22 19:26:53 -0500 | [diff] [blame] | 343 | void Manager::interfaceRemoved(sdbusplus::message_t& msg) |
Matt Spinler | 055da3b | 2018-05-09 15:51:20 -0500 | [diff] [blame] | 344 | { |
| 345 | sdbusplus::message::object_path path; |
| 346 | DbusInterfaceList interfaces; |
| 347 | |
| 348 | msg.read(path, interfaces); |
| 349 | |
| 350 | // If the Logging.Entry interface was removed, then remove |
| 351 | // our object |
| 352 | |
| 353 | auto i = std::find(interfaces.begin(), interfaces.end(), LOGGING_IFACE); |
| 354 | |
| 355 | if (i != interfaces.end()) |
| 356 | { |
Matt Spinler | a139035 | 2018-05-23 10:48:19 -0500 | [diff] [blame] | 357 | erase(getEntryID(path)); |
Matt Spinler | 055da3b | 2018-05-09 15:51:20 -0500 | [diff] [blame] | 358 | } |
| 359 | } |
Matt Spinler | 66e0707 | 2018-09-12 10:36:14 -0500 | [diff] [blame] | 360 | } // namespace logging |
| 361 | } // namespace ibm |