|
@@ -125,15 +125,14 @@ Right now you can only see what their names are if they are running
|
|
|
<para>
|
|
|
|
|
|
One final note about the naming. When specifying the
|
|
|
- module name within a logger, use the name of the module
|
|
|
- as specified in JSON configuration, e.g.
|
|
|
- <quote>Dhcp4</quote> for the Dhcp4 module,
|
|
|
- <quote>Dhcp6</quote> for the Dhcp6 module, etc. When
|
|
|
+ module name within a logger, use the name of the binary file,
|
|
|
+ e.g. <quote>kea-dhcp4</quote> for the DHCPv4 module,
|
|
|
+ <quote>kea-dhcp6</quote> for the DHCPv6 module, etc. When
|
|
|
the message is logged, the message will include the name
|
|
|
of the logger generating the message, but with the module
|
|
|
name replaced by the name of the process implementing
|
|
|
the module (so for example, a message generated by the
|
|
|
- <quote>Dhcp4</quote> logger will appear in the output
|
|
|
+ <quote>DHCPv4</quote> logger will appear in the output
|
|
|
with a logger name of <quote>kea-dhcp4</quote>).
|
|
|
|
|
|
</para>
|
|
@@ -143,19 +142,23 @@ Right now you can only see what their names are if they are running
|
|
|
</para>
|
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
|
- <simpara>kea.dhcp4</simpara>
|
|
|
+ <simpara>kea-dhcp4.dhcp4</simpara>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <simpara>kea.dhcp6</simpara>
|
|
|
+ <simpara>kea-dhcp6.dhcp6</simpara>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
<simpara>kea-dhcp-ddns.dhcpddns</simpara>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <simpara>kea.dhcpsrv</simpara>
|
|
|
+ <simpara>kea-dhcp4.dhcpsrv</simpara>
|
|
|
+ </listitem>
|
|
|
+ <listitem>
|
|
|
+ <simpara>kea-dhcp6.dhcpsrv</simpara>
|
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
|
|
|
|
+ <para>Additional loggers may be defined in the future.</para>
|
|
|
</section>
|
|
|
|
|
|
<section>
|
|
@@ -405,7 +408,7 @@ TODO; there's a ticket to determine these levels, see #1074
|
|
|
"Logging": {
|
|
|
"loggers": [
|
|
|
{
|
|
|
- "name": "kea",
|
|
|
+ "name": "kea-dhcp4",
|
|
|
"output_options": [
|
|
|
{
|
|
|
"output": "stdout"
|
|
@@ -427,7 +430,7 @@ file be created.</para>
|
|
|
"Logging": {
|
|
|
"loggers": [
|
|
|
{
|
|
|
- "name": "kea",
|
|
|
+ "name": "kea-dhcp6",
|
|
|
"output_options": [
|
|
|
{
|
|
|
"output": "/var/log/kea-debug.log",
|