summaryrefslogtreecommitdiffstats
path: root/tools/example
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-02-27 23:21:00 -0600
committerDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-15 09:20:14 -0500
commit89d6be41db901e1c5b571298ca613f365cdf1e1c (patch)
tree5fbf881eeabbe6cf20bb407fc1646e7c7c1a5c5f /tools/example
parent35b4637933f3be00987804e3a875fb55ca025aee (diff)
downloadphosphor-logging-89d6be41db901e1c5b571298ca613f365cdf1e1c.tar.gz
phosphor-logging-89d6be41db901e1c5b571298ca613f365cdf1e1c.zip
metadata: introduce 'process' keyword
An error metadata field that has the 'process' keyword set to true is an indication that this metadata will have some associated action that will take place after this metadata (and associated error) is logged to the journal and before the associated error is committed. The associated action will have to be implemented when adding the 'process' keyword. Add 'process' keyword to an example error definition. Change-Id: I42ab3fa230479000a88a18046548242c0043ac86 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'tools/example')
-rw-r--r--tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml b/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml
index 77b60f8..64db7fc 100644
--- a/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml
+++ b/tools/example/xyz/openbmc_project/Example/Elog.metadata.yaml
@@ -17,6 +17,7 @@
type: uint32
- str: DEV_ID=%u
type: uint32
+ process: true
- str: DEV_NAME=%s
type: string
OpenPOWER on IntegriCloud