Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Kea client logs

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 6 Posters 645 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      iTestAndroid
      last edited by

      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!

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @iTestAndroid
        last edited by

        @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.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        I 1 Reply Last reply Reply Quote 0
        • I
          iTestAndroid @SteveITS
          last edited by

          @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?

          W GertjanG 2 Replies Last reply Reply Quote 0
          • W
            WN1X @iTestAndroid
            last edited by

            @iTestAndroid You can safely switch between Kea and ISC.

            I 1 Reply Last reply Reply Quote 1
            • GertjanG
              Gertjan @iTestAndroid
              last edited by

              @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).

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 2
              • I
                iTestAndroid @WN1X
                last edited by iTestAndroid

                @Gertjan Thanks for the suggestion. I definitely get more logs but still no client logs

                1 Reply Last reply Reply Quote 0
                • A
                  ameinild
                  last edited by ameinild

                  I have the same issue, just updated to pfSense CE 2.8.0. Previously, on 2.7.2, I got Kea DCHP client logs, now after upgrade I get no logging from the kea-dhcp4 service for client DCHP logs, only from the dhclient for the WAN interface.

                  However, when trying the above method to change "WARN" to "INFO", I now get client info again. However, I think this should be configurable from the GUI, not hidden away in a script file. 🤔

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yup at some point that will be added.

                    1 Reply Last reply Reply Quote 1
                    • GertjanG
                      Gertjan @ameinild
                      last edited by

                      @ameinild said in Kea client logs:

                      I get no logging from the kea-dhcp4 service for client DCHP logs, only from the dhclient for the WAN interface.

                      Well ... this is FreeBSD/( and Linux) classic log behavior : no news is good news.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.