]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3752] Added a logging.spec file (for documentation only today)
authorFrancis Dupont <fdupont@isc.org>
Fri, 3 Jul 2015 11:40:07 +0000 (13:40 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 3 Jul 2015 11:40:07 +0000 (13:40 +0200)
src/lib/dhcpsrv/logging.spec [new file with mode: 0644]

diff --git a/src/lib/dhcpsrv/logging.spec b/src/lib/dhcpsrv/logging.spec
new file mode 100644 (file)
index 0000000..c4d8fe6
--- /dev/null
@@ -0,0 +1,72 @@
+{
+  "module_spec": {
+    "module_name": "Logging",
+    "module_description": "Logging configuration",
+    "config_data": [
+      {
+        "item_name": "loggers",
+        "item_type": "list",
+        "item_optional": true,
+        "item_default": [],
+        "list_item_spec":
+        {
+          "item_name": "logger-config",
+          "item_type": "map",
+          "item_optional": true,
+          "item_default": {},
+          "map_item_spec": [
+          {
+            "item_name": "name",
+            "item_type": "string",
+            "item_optional": false,
+            "item_default": "kea"
+          },
+
+          {
+            "item_name": "output_options",
+            "item_type": "map",
+            "item_optional": true,
+            "item_default": {},
+            "map_item_spec": [
+            {
+              "item_name": "output",
+              "item_type": "string",
+              "item_optional": false,
+              "item_default": "stdout"
+            },
+
+            {
+              "item_name": "maxver",
+              "item_type": "integer",
+              "item_optional": true,
+              "item_default": 1
+            },
+
+            {
+              "item_name": "maxsize",
+              "item_type": "integer",
+              "item_optional": true,
+              "item_default": 204800
+            }
+            ]
+          },
+
+          {
+            "item_name": "severity",
+            "item_type": "string",
+            "item_optional": false,
+            "item_default": "INFO"
+          },
+
+          {
+            "item_name": "debuglevel",
+            "item_type": "integer",
+            "item_optional": true,
+            "item_default": 0
+          }
+          ]
+        }
+      }
+    ]
+  }
+}