summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Logging
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2016-11-07 12:17:23 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2016-12-02 15:25:11 -0600
commit88eb10904410567b290242daa338e5e3c13d0502 (patch)
tree42cd6768fbd52052f30c9be51f4c7fa5cb22cefb /xyz/openbmc_project/Logging
parentb599e7889973034aa64f283eb52a060c2c92230c (diff)
downloadphosphor-logging-88eb10904410567b290242daa338e5e3c13d0502.tar.gz
phosphor-logging-88eb10904410567b290242daa338e5e3c13d0502.zip
YAML for event/error logging interfaces
Machine parseable DBus specification for the logging features. The Manager interface implements the Commit method to write entries to flash. Change-Id: Id1e9e2475427a7358acfbe829733977709de05bc Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Logging')
-rw-r--r--xyz/openbmc_project/Logging/Internal/Manager.interface.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml b/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml
new file mode 100644
index 0000000..97ed3c9
--- /dev/null
+++ b/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml
@@ -0,0 +1,19 @@
+description: >
+ Implement to provide event/error logging management features.
+ This interface should be instantiated for the phosphor::logging namespace,
+ and only one is required.
+methods:
+ - name: Commit
+ description: >
+ Write the requested error/event entry with its associated metadata
+ fields to flash.
+ parameters:
+ - name: transactionId
+ type: uint64
+ description: >
+ The unique identifier of the journal entry(ies) to be committed.
+ - name: errMsg
+ type: string
+ description: >
+ The error exception message associated with the error
+ event log to be committed.
OpenPOWER on IntegriCloud