summaryrefslogtreecommitdiffstats
path: root/doc/examples/netconf
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-08-08 21:10:52 +0200
committerTomek Mrugalski <tomasz@isc.org>2019-08-14 10:57:56 +0200
commit293a173751dfdf2ece765f4f90da35d4cc8cd458 (patch)
tree99b3f3c84340d634797585420de39f025d94eb2e /doc/examples/netconf
parent[#665,!460] Implemented support in agent (diff)
downloadkea-293a173751dfdf2ece765f4f90da35d4cc8cd458.tar.xz
kea-293a173751dfdf2ece765f4f90da35d4cc8cd458.zip
[#665,!460] Implemented support in netconf agent
doc/examples/netconf/simple-dhcp4.json doc/examples/netconf/simple-dhcp6.json src/bin/netconf/netconf_lexer.ll src/bin/netconf/netconf_parser.yy src/bin/netconf/location.hh src/bin/netconf/netconf_lexer.cc src/bin/netconf/netconf_parser.cc src/bin/netconf/netconf_parser.h src/bin/netconf/position.hh src/bin/netconf/stack.hh
Diffstat (limited to 'doc/examples/netconf')
-rw-r--r--doc/examples/netconf/simple-dhcp4.json4
-rw-r--r--doc/examples/netconf/simple-dhcp6.json5
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/examples/netconf/simple-dhcp4.json b/doc/examples/netconf/simple-dhcp4.json
index b8f85e054f..e46b5731a1 100644
--- a/doc/examples/netconf/simple-dhcp4.json
+++ b/doc/examples/netconf/simple-dhcp4.json
@@ -102,7 +102,9 @@
// kept.
"flush": true,
"maxsize": 204800,
- "maxver": 4
+ "maxver": 4,
+ // We use pattern to specify custom log message layout
+ "pattern": "%d{%y.%m.%d %H:%M:%S.%q} %-5p [%c/%i] %m\n"
}
],
// You can change the severity to DEBUG, INFO, WARN, ERROR or
diff --git a/doc/examples/netconf/simple-dhcp6.json b/doc/examples/netconf/simple-dhcp6.json
index 5dbb22218e..871e74dcaf 100644
--- a/doc/examples/netconf/simple-dhcp6.json
+++ b/doc/examples/netconf/simple-dhcp6.json
@@ -103,7 +103,10 @@
// kept.
"flush": true,
"maxsize": 204800,
- "maxver": 4
+ "maxver": 4,
+ // We use pattern to specify custom log message layout
+ "pattern": "%d{%y.%m.%d %H:%M:%S.%q} %-5p [%c/%i] %m\n"
+
}
],
// You can change the severity to DEBUG, INFO, WARN, ERROR or