Kea client logs
-
pfSense basically forced me to switch to Kea with all the warning. Everything kind of working fine except logging. I get absolutely no logs for DHCP clients, only DHCP client for WAN which is totally useless.
Is there any way to enable DHCP logging? I even have syslog enabled with "Everything" enabled for logging, which includes DHCP and I still get absolutely nothing in syslog or in pfSense interface.
Is there some settings, some options, some tweaks for enabling DHCP logging? I mean I was using those logs to find the IP address of the last device I plugged into network. If the logs not going to work, maybe y'all know some better way to find the IP address of the last device that I just plugged into the network?
Please advise, thank you!
-
@iTestAndroid what version of pfSense do you have? If CE it’s definitely still in “feature preview” and if 24.11 I think it still might be although they’ve added features.
I would have worded the warning differently but they didn’t force anyone to switch. You could just switch back.
I don’t recall the settings offhand but as I recall I was seeing client requests logged when I experimented with Kea a while back.
-
@SteveITS I'm using latest version "24.11-RELEASE".
I can't find absolutely no settings for logging client requests.
If I switch back to ISC DHCP, would anything break?
-
@iTestAndroid You can safely switch between Kea and ISC.
-
@iTestAndroid said in Kea client logs:
I can't find absolutely no settings for logging client requests.
Have a look at this file /etc/inc/service.inc
Search for 'severity'.You'll find something like
'severity' => config_get_path('kea/loglevel', 'WARN')
Be ware : there is also a
'severity' => config_get_path('kea6/loglevel', 'WARN')
which is the IPv6 equivalent.
Change WARN for INFO.
Save.
Restart the kea(s). -
@Gertjan Thanks for the suggestion. I definitely get more logs but still no client logs