Unable to isolate kea logs based on severity level.
"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"
}
]
}
Above is the portion of kea server config, 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".
Perhaps there is a loop missing when scanning the named sections of the logging section?