... | ... | @@ -14,4 +14,50 @@ Kea 1.6.0 and later: |
|
|
$ kea-admin db-upgrade <your database and additional parameters>
|
|
|
```
|
|
|
|
|
|
* The Logging entry in the configuration file has moved to specific daemon sections. This require a simple configuration file modification. You need to move Logging entry from its global scope into the Dhcp4, Dhcp6, DhcpDdns, Control-agent or Netconf scope. (#208) |
|
|
\ No newline at end of file |
|
|
* The Logging entry in the configuration file has moved to specific daemon sections. This require a simple configuration file modification. You need to move Logging entry from its global scope into the Dhcp4, Dhcp6, DhcpDdns, Control-agent or Netconf scope. (#208)
|
|
|
|
|
|
As an example, the loggers defined in a Kea 1.5.0 Dhcp4 configuration could look like this:
|
|
|
|
|
|
```
|
|
|
"Dhcp4":
|
|
|
{ ... }
|
|
|
"Logging":
|
|
|
{
|
|
|
"loggers": [
|
|
|
{
|
|
|
"name": "kea-dhcp4",
|
|
|
"output_options": [
|
|
|
{
|
|
|
"output": "/var/log/kea/log/kea-dhcp4.log"
|
|
|
}
|
|
|
],
|
|
|
"severity": "INFO",
|
|
|
"debuglevel": 0
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Note that `Logging` is a stand-alone section in the configuration file containing the definition of the `loggers`.
|
|
|
|
|
|
In Kea 1.6.0, the same configuration snippet would be:
|
|
|
|
|
|
"Dhcp4":
|
|
|
{ ...
|
|
|
"loggers": [
|
|
|
{
|
|
|
"name": "kea-dhcp4",
|
|
|
"output_options": [
|
|
|
{
|
|
|
"output": "/var/log/kea/kea-dhcp4.log"
|
|
|
}
|
|
|
],
|
|
|
"severity": "INFO",
|
|
|
"debuglevel": 0
|
|
|
}
|
|
|
]
|
|
|
... }
|
|
|
|
|
|
The `loggers` section is now contained within the "global" `Dhcp4` section. There is no-longer a "global" `Logging` section in this configuration.
|
|
|
|
|
|
Kea 1.6.0 continues to support the global `logging` section in each server's configuration, but this backwards compatibility will be removed in an upcoming Kea release. |
|
|
\ No newline at end of file |