Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 1 | #include <fstream> |
| 2 | #include <iostream> |
Adriana Kobylak | c5f0bbd | 2017-01-22 14:56:04 -0600 | [diff] [blame] | 3 | #include <chrono> |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 4 | #include <cstdio> |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 5 | #include <set> |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 6 | #include <string> |
| 7 | #include <vector> |
Adriana Kobylak | 1db1bd3 | 2016-10-10 11:39:20 -0500 | [diff] [blame] | 8 | #include <sdbusplus/vtable.hpp> |
| 9 | #include <systemd/sd-bus.h> |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 10 | #include <systemd/sd-journal.h> |
Adriana Kobylak | 4ea7f31 | 2017-01-10 12:52:34 -0600 | [diff] [blame] | 11 | #include "config.h" |
| 12 | #include "elog_entry.hpp" |
Saqib Khan | 2bb1519 | 2017-02-13 13:19:55 -0600 | [diff] [blame] | 13 | #include <phosphor-logging/log.hpp> |
Adriana Kobylak | 8f7941e | 2016-11-14 14:46:23 -0600 | [diff] [blame] | 14 | #include "log_manager.hpp" |
Deepak Kodihalli | a87c157 | 2017-02-28 07:40:34 -0600 | [diff] [blame] | 15 | #include "elog_meta.hpp" |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 16 | #include "elog_serialize.hpp" |
Deepak Kodihalli | a87c157 | 2017-02-28 07:40:34 -0600 | [diff] [blame] | 17 | |
| 18 | using namespace phosphor::logging; |
| 19 | extern const std::map<metadata::Metadata, |
| 20 | std::function<metadata::associations::Type>> meta; |
Adriana Kobylak | 1db1bd3 | 2016-10-10 11:39:20 -0500 | [diff] [blame] | 21 | |
Adriana Kobylak | 8f7941e | 2016-11-14 14:46:23 -0600 | [diff] [blame] | 22 | namespace phosphor |
| 23 | { |
| 24 | namespace logging |
| 25 | { |
Nagaraju Goruganti | 05aae8b | 2017-08-30 07:56:12 -0500 | [diff] [blame] | 26 | namespace internal |
| 27 | { |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 28 | |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 29 | inline auto getLevel(const std::string& errMsg) |
| 30 | { |
| 31 | auto reqLevel = Entry::Level::Error; // Default to Error |
| 32 | |
| 33 | auto levelmap = g_errLevelMap.find(errMsg); |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 34 | if (levelmap != g_errLevelMap.end()) |
Marri Devender Rao | 7656fba | 2017-08-06 05:42:52 -0500 | [diff] [blame] | 35 | { |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 36 | reqLevel = static_cast<Entry::Level>(levelmap->second); |
Marri Devender Rao | 7656fba | 2017-08-06 05:42:52 -0500 | [diff] [blame] | 37 | } |
| 38 | |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 39 | return reqLevel; |
| 40 | } |
| 41 | |
| 42 | void Manager::commit(uint64_t transactionId, std::string errMsg) |
| 43 | { |
| 44 | auto level = getLevel(errMsg); |
| 45 | _commit(transactionId, std::move(errMsg), level); |
| 46 | } |
| 47 | |
| 48 | void Manager::commitWithLvl(uint64_t transactionId, std::string errMsg, |
| 49 | uint32_t errLvl) |
| 50 | { |
| 51 | _commit(transactionId, std::move(errMsg), |
| 52 | static_cast<Entry::Level>(errLvl)); |
| 53 | } |
| 54 | |
| 55 | void Manager::_commit(uint64_t transactionId, std::string&& errMsg, |
| 56 | Entry::Level errLvl) |
| 57 | { |
| 58 | if (errLvl < Entry::sevLowerLimit) |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 59 | { |
Nagaraju Goruganti | e4b0b77 | 2017-11-30 02:12:45 -0600 | [diff] [blame] | 60 | if (realErrors.size() >= ERROR_CAP) |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 61 | { |
Nagaraju Goruganti | e4b0b77 | 2017-11-30 02:12:45 -0600 | [diff] [blame] | 62 | erase(realErrors.front()); |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 63 | } |
| 64 | } |
| 65 | else |
| 66 | { |
| 67 | if (infoErrors.size() >= ERROR_INFO_CAP) |
| 68 | { |
| 69 | erase(infoErrors.front()); |
| 70 | } |
| 71 | } |
Adriana Kobylak | 7298dc2 | 2017-01-24 12:21:50 -0600 | [diff] [blame] | 72 | constexpr const auto transactionIdVar = "TRANSACTION_ID"; |
Adriana Kobylak | 27c87d9 | 2017-03-06 12:45:09 -0600 | [diff] [blame] | 73 | // Length of 'TRANSACTION_ID' string. |
Adriana Kobylak | 6721899 | 2017-02-28 12:53:37 -0600 | [diff] [blame] | 74 | constexpr const auto transactionIdVarSize = strlen(transactionIdVar); |
Adriana Kobylak | 27c87d9 | 2017-03-06 12:45:09 -0600 | [diff] [blame] | 75 | // Length of 'TRANSACTION_ID=' string. |
| 76 | constexpr const auto transactionIdVarOffset = transactionIdVarSize + 1; |
Adriana Kobylak | 1db1bd3 | 2016-10-10 11:39:20 -0500 | [diff] [blame] | 77 | |
Adriana Kobylak | cfd9a7d | 2017-06-07 11:57:31 -0500 | [diff] [blame] | 78 | // Flush all the pending log messages into the journal via Synchronize |
| 79 | constexpr auto JOURNAL_BUSNAME = "org.freedesktop.journal1"; |
| 80 | constexpr auto JOURNAL_PATH = "/org/freedesktop/journal1"; |
| 81 | constexpr auto JOURNAL_INTERFACE = "org.freedesktop.journal1"; |
| 82 | auto bus = sdbusplus::bus::new_default(); |
| 83 | auto method = bus.new_method_call(JOURNAL_BUSNAME, JOURNAL_PATH, |
| 84 | JOURNAL_INTERFACE, "Synchronize"); |
| 85 | bus.call_noreply(method); |
| 86 | |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 87 | sd_journal *j = nullptr; |
Adriana Kobylak | 8f7941e | 2016-11-14 14:46:23 -0600 | [diff] [blame] | 88 | int rc = sd_journal_open(&j, SD_JOURNAL_LOCAL_ONLY); |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 89 | if (rc < 0) |
| 90 | { |
| 91 | logging::log<logging::level::ERR>("Failed to open journal", |
| 92 | logging::entry("DESCRIPTION=%s", strerror(-rc))); |
Adriana Kobylak | 8f7941e | 2016-11-14 14:46:23 -0600 | [diff] [blame] | 93 | return; |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 94 | } |
| 95 | |
Adriana Kobylak | 7298dc2 | 2017-01-24 12:21:50 -0600 | [diff] [blame] | 96 | std::string transactionIdStr = std::to_string(transactionId); |
Adriana Kobylak | d722b3a | 2017-02-28 12:10:44 -0600 | [diff] [blame] | 97 | std::set<std::string> metalist; |
| 98 | auto metamap = g_errMetaMap.find(errMsg); |
| 99 | if (metamap != g_errMetaMap.end()) |
| 100 | { |
| 101 | metalist.insert(metamap->second.begin(), metamap->second.end()); |
| 102 | } |
Adriana Kobylak | 7298dc2 | 2017-01-24 12:21:50 -0600 | [diff] [blame] | 103 | |
Jayanth Othayoth | db18ebe | 2017-09-04 00:48:02 -0500 | [diff] [blame] | 104 | //Add _PID field information in AdditionalData. |
| 105 | metalist.insert("_PID"); |
| 106 | |
Tom Joseph | 7a33ee4 | 2017-07-25 00:04:20 +0530 | [diff] [blame] | 107 | std::vector<std::string> additionalData; |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 108 | |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 109 | // Read the journal from the end to get the most recent entry first. |
| 110 | // The result from the sd_journal_get_data() is of the form VARIABLE=value. |
| 111 | SD_JOURNAL_FOREACH_BACKWARDS(j) |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 112 | { |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 113 | const char *data = nullptr; |
| 114 | size_t length = 0; |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 115 | |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 116 | // Look for the transaction id metadata variable |
| 117 | rc = sd_journal_get_data(j, transactionIdVar, (const void **)&data, |
| 118 | &length); |
| 119 | if (rc < 0) |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 120 | { |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 121 | // This journal entry does not have the TRANSACTION_ID |
| 122 | // metadata variable. |
| 123 | continue; |
| 124 | } |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 125 | |
Adriana Kobylak | 27c87d9 | 2017-03-06 12:45:09 -0600 | [diff] [blame] | 126 | // journald does not guarantee that sd_journal_get_data() returns NULL |
| 127 | // terminated strings, so need to specify the size to use to compare, |
| 128 | // use the returned length instead of anything that relies on NULL |
| 129 | // terminators like strlen(). |
| 130 | // The data variable is in the form of 'TRANSACTION_ID=1234'. Remove |
| 131 | // the TRANSACTION_ID characters plus the (=) sign to do the comparison. |
| 132 | // 'data + transactionIdVarOffset' will be in the form of '1234'. |
| 133 | // 'length - transactionIdVarOffset' will be the length of '1234'. |
| 134 | if ((length <= (transactionIdVarOffset)) || |
| 135 | (transactionIdStr.compare(0, |
| 136 | transactionIdStr.size(), |
| 137 | data + transactionIdVarOffset, |
| 138 | length - transactionIdVarOffset) != 0)) |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 139 | { |
| 140 | // The value of the TRANSACTION_ID metadata is not the requested |
| 141 | // transaction id number. |
| 142 | continue; |
| 143 | } |
| 144 | |
| 145 | // Search for all metadata variables in the current journal entry. |
| 146 | for (auto i = metalist.cbegin(); i != metalist.cend();) |
| 147 | { |
| 148 | rc = sd_journal_get_data(j, (*i).c_str(), |
| 149 | (const void **)&data, &length); |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 150 | if (rc < 0) |
| 151 | { |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 152 | // Metadata variable not found, check next metadata variable. |
| 153 | i++; |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 154 | continue; |
| 155 | } |
| 156 | |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 157 | // Metadata variable found, save it and remove it from the set. |
| 158 | additionalData.emplace_back(data, length); |
| 159 | i = metalist.erase(i); |
| 160 | } |
| 161 | if (metalist.empty()) |
| 162 | { |
| 163 | // All metadata variables found, break out of journal loop. |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 164 | break; |
| 165 | } |
Adriana Kobylak | fbe8872 | 2017-02-22 16:49:59 -0600 | [diff] [blame] | 166 | } |
| 167 | if (!metalist.empty()) |
| 168 | { |
| 169 | // Not all the metadata variables were found in the journal. |
| 170 | for (auto& metaVarStr : metalist) |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 171 | { |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 172 | logging::log<logging::level::INFO>("Failed to find metadata", |
| 173 | logging::entry("META_FIELD=%s", metaVarStr.c_str())); |
Adriana Kobylak | 9aa7d78 | 2017-02-18 09:20:49 -0600 | [diff] [blame] | 174 | } |
| 175 | } |
| 176 | |
Adriana Kobylak | d311bc8 | 2016-10-16 09:54:40 -0500 | [diff] [blame] | 177 | sd_journal_close(j); |
| 178 | |
Adriana Kobylak | 4ea7f31 | 2017-01-10 12:52:34 -0600 | [diff] [blame] | 179 | // Create error Entry dbus object |
| 180 | entryId++; |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 181 | if (errLvl >= Entry::sevLowerLimit) |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 182 | { |
| 183 | infoErrors.push_back(entryId); |
| 184 | } |
Nagaraju Goruganti | e4b0b77 | 2017-11-30 02:12:45 -0600 | [diff] [blame] | 185 | else |
| 186 | { |
| 187 | realErrors.push_back(entryId); |
| 188 | } |
Adriana Kobylak | c5f0bbd | 2017-01-22 14:56:04 -0600 | [diff] [blame] | 189 | auto ms = std::chrono::duration_cast<std::chrono::milliseconds>( |
| 190 | std::chrono::system_clock::now().time_since_epoch()).count(); |
Adriana Kobylak | 4ea7f31 | 2017-01-10 12:52:34 -0600 | [diff] [blame] | 191 | auto objPath = std::string(OBJ_ENTRY) + '/' + |
Adriana Kobylak | c5f0bbd | 2017-01-22 14:56:04 -0600 | [diff] [blame] | 192 | std::to_string(entryId); |
Deepak Kodihalli | a87c157 | 2017-02-28 07:40:34 -0600 | [diff] [blame] | 193 | |
Deepak Kodihalli | 35b4637 | 2017-02-27 04:58:18 -0600 | [diff] [blame] | 194 | AssociationList objects {}; |
Deepak Kodihalli | a87c157 | 2017-02-28 07:40:34 -0600 | [diff] [blame] | 195 | processMetadata(errMsg, additionalData, objects); |
| 196 | |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 197 | auto e = std::make_unique<Entry>( |
| 198 | busLog, |
| 199 | objPath, |
| 200 | entryId, |
| 201 | ms, // Milliseconds since 1970 |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 202 | errLvl, |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 203 | std::move(errMsg), |
| 204 | std::move(additionalData), |
| 205 | std::move(objects), |
| 206 | *this); |
| 207 | serialize(*e); |
| 208 | entries.insert(std::make_pair(entryId, std::move(e))); |
Adriana Kobylak | 1db1bd3 | 2016-10-10 11:39:20 -0500 | [diff] [blame] | 209 | } |
| 210 | |
Deepak Kodihalli | a87c157 | 2017-02-28 07:40:34 -0600 | [diff] [blame] | 211 | void Manager::processMetadata(const std::string& errorName, |
| 212 | const std::vector<std::string>& additionalData, |
| 213 | AssociationList& objects) const |
| 214 | { |
| 215 | // additionalData is a list of "metadata=value" |
| 216 | constexpr auto separator = '='; |
| 217 | for(const auto& entry: additionalData) |
| 218 | { |
| 219 | auto found = entry.find(separator); |
| 220 | if(std::string::npos != found) |
| 221 | { |
| 222 | auto metadata = entry.substr(0, found); |
| 223 | auto iter = meta.find(metadata); |
| 224 | if(meta.end() != iter) |
| 225 | { |
| 226 | (iter->second)(metadata, additionalData, objects); |
| 227 | } |
| 228 | } |
| 229 | } |
| 230 | } |
| 231 | |
Deepak Kodihalli | 99a8549 | 2017-03-31 06:01:57 -0500 | [diff] [blame] | 232 | void Manager::erase(uint32_t entryId) |
| 233 | { |
| 234 | auto entry = entries.find(entryId); |
| 235 | if(entries.end() != entry) |
| 236 | { |
Deepak Kodihalli | 3388799 | 2017-06-13 07:06:49 -0500 | [diff] [blame] | 237 | // Delete the persistent representation of this error. |
| 238 | fs::path errorPath(ERRLOG_PERSIST_PATH); |
Marri Devender Rao | 8959efc | 2017-11-17 00:13:41 -0600 | [diff] [blame] | 239 | errorPath /= std::to_string(entryId); |
Deepak Kodihalli | 3388799 | 2017-06-13 07:06:49 -0500 | [diff] [blame] | 240 | fs::remove(errorPath); |
Nagaraju Goruganti | e4b0b77 | 2017-11-30 02:12:45 -0600 | [diff] [blame] | 241 | |
| 242 | auto removeId = [](std::list<uint32_t>& ids , uint32_t id) |
| 243 | { |
| 244 | auto it = std::find(ids.begin(), ids.end(), id); |
| 245 | if (it != ids.end()) |
| 246 | { |
| 247 | ids.erase(it); |
| 248 | } |
| 249 | }; |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 250 | if (entry->second->severity() >= Entry::sevLowerLimit) |
| 251 | { |
Nagaraju Goruganti | e4b0b77 | 2017-11-30 02:12:45 -0600 | [diff] [blame] | 252 | removeId(infoErrors, entryId); |
| 253 | } |
| 254 | else |
| 255 | { |
| 256 | removeId(realErrors, entryId); |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 257 | } |
Deepak Kodihalli | 99a8549 | 2017-03-31 06:01:57 -0500 | [diff] [blame] | 258 | entries.erase(entry); |
| 259 | } |
Marri Devender Rao | 8959efc | 2017-11-17 00:13:41 -0600 | [diff] [blame] | 260 | else |
| 261 | { |
| 262 | logging::log<level::ERR>("Invalid entry ID to delete", |
| 263 | logging::entry("ID=%d", entryId)); |
| 264 | } |
Deepak Kodihalli | 99a8549 | 2017-03-31 06:01:57 -0500 | [diff] [blame] | 265 | } |
| 266 | |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 267 | void Manager::restore() |
| 268 | { |
Marri Devender Rao | 979ed1c | 2017-11-17 05:06:25 -0600 | [diff] [blame] | 269 | auto sanity = [](const auto& id, const auto& restoredId) |
| 270 | { |
| 271 | return id == restoredId; |
| 272 | }; |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 273 | std::vector<uint32_t> errorIds; |
| 274 | |
| 275 | fs::path dir(ERRLOG_PERSIST_PATH); |
| 276 | if (!fs::exists(dir) || fs::is_empty(dir)) |
| 277 | { |
| 278 | return; |
| 279 | } |
| 280 | |
| 281 | for(auto& file: fs::directory_iterator(dir)) |
| 282 | { |
| 283 | auto id = file.path().filename().c_str(); |
| 284 | auto idNum = std::stol(id); |
| 285 | auto e = std::make_unique<Entry>( |
| 286 | busLog, |
| 287 | std::string(OBJ_ENTRY) + '/' + id, |
| 288 | idNum, |
| 289 | *this); |
| 290 | if (deserialize(file.path(), *e)) |
| 291 | { |
Marri Devender Rao | 979ed1c | 2017-11-17 05:06:25 -0600 | [diff] [blame] | 292 | //validate the restored error entry id |
| 293 | if (sanity(static_cast<uint32_t>(idNum), e->id())) |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 294 | { |
Marri Devender Rao | 979ed1c | 2017-11-17 05:06:25 -0600 | [diff] [blame] | 295 | e->emit_object_added(); |
| 296 | if (e->severity() >= Entry::sevLowerLimit) |
| 297 | { |
| 298 | infoErrors.push_back(idNum); |
| 299 | } |
Nagaraju Goruganti | e4b0b77 | 2017-11-30 02:12:45 -0600 | [diff] [blame] | 300 | else |
| 301 | { |
| 302 | realErrors.push_back(idNum); |
| 303 | } |
Marri Devender Rao | 979ed1c | 2017-11-17 05:06:25 -0600 | [diff] [blame] | 304 | |
| 305 | entries.insert(std::make_pair(idNum, std::move(e))); |
| 306 | errorIds.push_back(idNum); |
Nagaraju Goruganti | f8a5a79 | 2017-10-13 08:09:52 -0500 | [diff] [blame] | 307 | } |
Marri Devender Rao | 979ed1c | 2017-11-17 05:06:25 -0600 | [diff] [blame] | 308 | else |
| 309 | { |
| 310 | logging::log<logging::level::ERR>( |
| 311 | "Failed in sanity check while restoring error entry. " |
| 312 | "Ignoring error entry", |
| 313 | logging::entry("ID_NUM=%d", idNum), |
| 314 | logging::entry("ENTRY_ID=%d", e->id())); |
| 315 | } |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 316 | } |
| 317 | } |
| 318 | |
Vishwanatha Subbanna | 37af9ba | 2017-09-28 16:33:53 +0530 | [diff] [blame] | 319 | if (!errorIds.empty()) |
| 320 | { |
| 321 | entryId = *(std::max_element(errorIds.begin(), errorIds.end())); |
| 322 | } |
Deepak Kodihalli | 72654f1 | 2017-06-12 04:33:29 -0500 | [diff] [blame] | 323 | } |
| 324 | |
Nagaraju Goruganti | 05aae8b | 2017-08-30 07:56:12 -0500 | [diff] [blame] | 325 | } // namespace internal |
Adriana Kobylak | 8f7941e | 2016-11-14 14:46:23 -0600 | [diff] [blame] | 326 | } // namespace logging |
| 327 | } // namepsace phosphor |