2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

[#2904] adding alias output-options in ARM docs

This commit is contained in:
Piotrek Zadroga 2023-08-10 14:54:36 +02:00 committed by Razvan Becheriu
parent 5f73d4d0dd
commit 3540e32136
9 changed files with 23 additions and 14 deletions

View File

@ -4272,7 +4272,7 @@ ISC tested the following configuration:
"loggers": [
{
"name": "kea-dhcp4",
"output_options": [
"output-options": [
{
"output": "/tmp/kea-dhcp4.log"
}

View File

@ -3624,7 +3624,7 @@ ISC tested the following configuration:
"loggers": [ {
"name": "kea-dhcp6",
"output_options": [ {
"output-options": [ {
"output": "/tmp/kea-dhcp6.log"
} ],
"severity": "DEBUG",

View File

@ -631,7 +631,7 @@ Kea sources.
"loggers": [
{
"name": "kea-netconf",
"output_options": [
"output-options": [
{
"output": "/var/log/kea-netconf.log",
// Several additional parameters are possible in
@ -779,7 +779,7 @@ The following is the example ``netconf.json`` configuration for
{
"debuglevel": 99,
"name": "kea-netconf",
"output_options": [
"output-options": [
{
"output": "stderr"
}
@ -1102,7 +1102,7 @@ The corresponding Kea configuration in JSON is:
"loggers": [
{
"name": "kea-dhcp6",
"output_options": [
"output-options": [
{
"output": "stderr"
}

View File

@ -608,12 +608,21 @@ level of debug messages to be printed. It ranges from 0 (least
verbose) to 99 (most verbose). If severity for the logger is not DEBUG,
this value is ignored.
The ``output_options`` (list) Logger
The ``output-options`` (list) Logger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Each logger can have zero or more ``output_options``. These specify
Each logger can have zero or more ``output-options``. These specify
where log messages are sent and are explained in detail below.
.. note::
As of Kea 2.5.1, alias ``output-options`` was added to replace
previous ``output_options`` configuration key. The reason behind this
was to keep all configuration keys consistent i.e. to use "dash" instead
of "underscore" in the key name. For the time being both configuration keys
are considered correct and mean the same to Kea parsers. In future, older
``output_options`` configuration key will be deprecated.
The ``output`` (string) Option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -939,7 +948,7 @@ console using standard output.
"loggers": [
{
"name": "kea-dhcp4",
"output_options": [
"output-options": [
{
"output": "stdout"
}
@ -959,7 +968,7 @@ logfile grows to 2MB, it should be renamed and a new file should be created.
"loggers": [
{
"name": "kea-dhcp6",
"output_options": [
"output-options": [
{
"output": "/var/log/kea-debug.log",
"maxver": 8,

View File

@ -223,7 +223,7 @@ This grammar is generated from ``agent_parser.yy``. See :ref:`kea-ctrl-agent` fo
severity ::= "severity" ":" STRING
output_options_list ::= "output_options" ":" "[" output_options_list_content "]"
output_options_list ::= "output-options" ":" "[" output_options_list_content "]"
output_options_list_content ::= output_entry
| output_options_list_content "," output_entry

View File

@ -280,7 +280,7 @@ This grammar is generated from ``d2_parser.yy``. See :ref:`dhcp-ddns-server` for
severity ::= "severity" ":" STRING
output_options_list ::= "output_options" ":" "[" output_options_list_content "]"
output_options_list ::= "output-options" ":" "[" output_options_list_content "]"
output_options_list_content ::= output_entry
| output_options_list_content "," output_entry

View File

@ -1003,7 +1003,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
severity ::= "severity" ":" STRING
output_options_list ::= "output_options" ":" "[" output_options_list_content "]"
output_options_list ::= "output-options" ":" "[" output_options_list_content "]"
output_options_list_content ::= output_entry
| output_options_list_content "," output_entry

View File

@ -1054,7 +1054,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
severity ::= "severity" ":" STRING
output_options_list ::= "output_options" ":" "[" output_options_list_content "]"
output_options_list ::= "output-options" ":" "[" output_options_list_content "]"
output_options_list_content ::= output_entry
| output_options_list_content "," output_entry

View File

@ -191,7 +191,7 @@ This grammar is generated from ``netconf_parser.yy``. See :ref:`netconf` for mor
severity ::= "severity" ":" STRING
output_options_list ::= "output_options" ":" "[" output_options_list_content "]"
output_options_list ::= "output-options" ":" "[" output_options_list_content "]"
output_options_list_content ::= output_entry
| output_options_list_content "," output_entry