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

    Log spam from hostapd

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 5 Posters 4.6k 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.
    • G
      Gunther
      last edited by

      I am generally very happy with my pfSense install..

      I do have a nagging issue.

      I am sending logs to a remote machine via syslog.
      The logs are full of debugging messages from hostapd such as the following….

      Jan  9 04:59:25 router hostapd: ral0: STA 00:14:a5:22:23:91 WPA: group key handshake completed (RSN)
      Jan  9 04:59:25 router hostapd: ral0: STA 00:24:d7:0d:7d:40 WPA: group key handshake completed (RSN)
      Jan  9 05:00:25 router hostapd: ral0: STA 00:14:a5:22:23:91 WPA: group key handshake completed (RSN)
      Jan  9 05:00:25 router hostapd: ral0: STA 00:24:d7:0d:7d:40 WPA: group key handshake completed (RSN)
      

      I've tried editing the /var/etc/hostapd_ral0.conf file to change the logging levels to something less verbose, but it just gets over written at boot time.

      Is there someplace I can change the log levels for hostapd?

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

        Did you ever get anywhere with this?
        I must say that it renders the system log pretty much useless with all the hostap messages.

        Steve

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          To get around this i've set the key rotation to 3600 and the master key to 7200.
          This massively decreases the log spam (and i'm not that paranoid that i have to rotate the key every minute).

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

            Of course, key rotation!  ::)
            Should have spotted that they were all once a minute.
            However it seems odd that the logging level is set to most verbose by default. It seems everyone (almost) uses an iPhone and, among other annoying features, they switch the wifi on and off the instant it thinks you're not using it to save power. Hence many log entries.

            Steve

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              FYI-

              I just made a new log file for hostapd logs, and its own tab, and they will no longer spam the system log.

              It will be fixed in 2.1 / 2.0.1

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • W
                wallabybob
                last edited by

                Thanks jimp. After I've upgraded firmware I'll especially appreciate that change when next I'm dredging the system logs.

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

                  Yes, I'm looking forward to that.
                  Thanks Jim!  :)

                  Steve

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