[Kea-users] Kea dhcp log rotate
Kristof Van Doorsselaere
kristof.vandoorsselaere at hogent.be
Fri Jun 21 10:02:07 UTC 2024
Dear All,
We are running kea 2.4.1 in our production network (University college).
In the kea dhcpv4 config I have setup below loggers:
"loggers": [
{
"debuglevel": 0,
"name": "kea-dhcp4",
"output_options": [
{
"flush": false,
"maxsize": 10240000,
"maxver": 8,
"output": "/var/log/kea-dhcp4.log",
"pattern": "%d{%j %H:%M:%S.%q} %c %m\n"
}
],
"severity": "INFO"
},
{
"debuglevel": 0,
"name": "kea-dhcp4.bad-packets",
"output_options": [
{
"flush": true,
"maxsize": 10240000,
"maxver": 8,
"output": "/var/log/kea-dhcp4-debug.log",
"pattern": "%d{%j %H:%M:%S.%q} %c %m\n"
}
],
"severity": "ERROR"
}
],
Kea is running on a redhat 8.9
For some reason the old logs are not preserved when they get rotated, only 1 log file is available at any time (latest)
Anyone experience a similar problem?
Thanks in advance,
Kristof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240621/23bbbff1/attachment.htm>
More information about the Kea-users
mailing list