kea-dhcp4 log isolation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

kea-dhcp4 log isolation

lakshmi narayan
Hello

I am trying to isolate kea-dhcp4 logs based on severity level.  

Below is the portion of kea server config file for logging.  

 "Logging": {
        "loggers": [
          {
            "name": "kea-dhcp4",
            "output_options": [
              {
                "output": "/var/log/kea-dhcp4.log"
              }
            ],
            "severity": "WARN"
          },
          {
            "debuglevel": 99,
            "name": "kea-dhcp4",
            "output_options": [
              {
                "output": "/var/log/kea-debug.log"
              }
            ],
            "severity": "DEBUG"
          }
        ]
      }


All the logs are directed to "/var/log/kea-debug.log" irrespective of severity level. Expected: logs of severity "WARN" and higher to be logged to "/var/log/kea-dhcp4.log".

Where am i going wrong?

Regards,
Lakshmi.

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: kea-dhcp4 log isolation

perl-list
There is a separate kea dhcp mailing list.  You may want to ask there instead.

https://www.isc.org/kea-users-mailing-list/

----- Original Message -----
> From: "lakshmi narayan" <[hidden email]>
> To: "Users of ISC DHCP" <[hidden email]>
> Sent: Thursday, April 25, 2019 8:28:47 PM
> Subject: kea-dhcp4 log isolation

> Hello
> I am trying to isolate kea-dhcp4 logs based on severity level.

> Below is the portion of kea server config file for logging.

> "Logging": {
> "loggers": [
> {
> "name": "kea-dhcp4",
> "output_options": [
> {
> "output": "/var/log/kea-dhcp4.log"
> }
> ],
> "severity": "WARN"
> },
> {
> "debuglevel": 99,
> "name": "kea-dhcp4",
> "output_options": [
> {
> "output": "/var/log/kea-debug.log"
> }
> ],
> "severity": "DEBUG"
> }
> ]
> }

> All the logs are directed to "/var/log/kea-debug.log" irrespective of severity
> level. Expected: logs of severity "WARN" and higher to be logged to
> "/var/log/kea-dhcp4.log".

> Where am i going wrong?

> Regards,
> Lakshmi.

> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users