Add log config variables in a JSON file 86/76086/3
authorTaseer <taseer94@gmail.com>
Fri, 14 Sep 2018 10:13:20 +0000 (12:13 +0200)
committerTaseer <taseer94@gmail.com>
Wed, 19 Sep 2018 12:01:40 +0000 (14:01 +0200)
These are necessary to fix the CI, as the tests only cover
console logging configuration. This patch is inspired by [1],
where all other different methods to pass these variables failed.

[1]. https://git.opendaylight.org/gerrit/#/c/76036/

Change-Id: I3c0d94acd365da60945f0256f86893d77d3460b9
Signed-off-by: Taseer <taseer94@gmail.com>
examples/log_vars.json [new file with mode: 0644]

diff --git a/examples/log_vars.json b/examples/log_vars.json
new file mode 100644 (file)
index 0000000..0eab33e
--- /dev/null
@@ -0,0 +1,9 @@
+{
+    "log_mechanism": "console",
+    "log_levels": {
+        "root": {
+            "log_name": "rootLogger",
+            "log_level": "DEBUG"
+        }
+    }
+}