[Kea-users] kea-dhcp4 log isolation

lakshmi narayan 14lakshminarayan at gmail.com
Fri Apr 26 23:21:33 UTC 2019


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190426/6fd56e6e/attachment.htm>


More information about the Kea-users mailing list