Add setting to toggle rest api logging

It may be desirable for the rest server implementation to log rest calls
for audit purposes, and further, it is desirable for a user to turn this
feature on/off.

Add a D-Bus setting for the same, which a rest server can look up and
turn on logging, if required. Turn logging off, by default.

Commit 6e1ca53 in the phosphor-rest-server implements logging. A
subsequent commit will control logging based on this setting.

(From meta-phosphor rev: dcc1bdb90e78264ad1a30d4cfc62dafe3fb1652d)

Change-Id: I183986116e9472c503bc06bb3d679a8de82a3a8f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
index 0903760..59af1a4 100644
--- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
+++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
@@ -121,3 +121,9 @@
       Properties:
           TurboAllowed:
              Default: 'true'
+
+/xyz/openbmc_project/logging/rest_api_logs:
+    - Interface: xyz.openbmc_project.Object.Enable
+      Properties:
+          Enabled:
+             Default: 'false'