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

    How to stop logging/messages to the console?

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 5 Posters 1.9k 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.
    • NollipfSenseN
      NollipfSense @aeleus
      last edited by

      @aeleus said in How to stop logging/messages to the console?:

      I don't need to be notified every 5 minutes that there has been a "successful login"

      If you log in every five minutes, then you will receive that message...there is no way round this...you're barking at the wrong tree. Or when you log in, don't log out.

      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

        Press ^L (Ctrl-l) to refresh your terminal if the message overwrites something.

        If you must disable them, it's under System > Advanced, WebGUI login messages.
        You can't disable the console message without also disabling the log message entirely, so be wary of disabling that.

        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 1
        • A
          aeleus
          last edited by

          @NollipfSense The thing is, I am not logging in every 5 minutes. It's actually a remote monitor checking the gateway status because they occasionally go down (multiple pfSense instances with multiple gateways each).

          @jimp Thank you for the information. Now I can make an informed decision. Much more helpful than "you're holding it wrong".

          provelsP NollipfSenseN 2 Replies Last reply Reply Quote 0
          • provelsP
            provels @aeleus
            last edited by provels

            @aeleus FWIW, I find WinSCP dandy for editing files. Of course, Windows...

            Peder

            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

            1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense @aeleus
              last edited by

              @aeleus I now see your situation clearly. I would try what Jimp recommended, before completely disabling...good luck!

              pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
              pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

              A 1 Reply Last reply Reply Quote 0
              • A
                aeleus @NollipfSense
                last edited by aeleus

                @NollipfSense I have what I need. Thanks for the input! ๐Ÿ‘

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

                  There are probably better ways of remote monoriting the gateway status if that's all it's doing.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    aeleus @stephenw10
                    last edited by

                    @stephenw10 said in How to stop logging/messages to the console?:

                    There are probably better ways of remote monoriting the gateway status if that's all it's doing.

                    I am currently using a script that relies on pulling the gateway status from the webui (/widgets/widgets/gateways.widget.php)

                    If there is a better way, I'd love to know what it is.

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

                      Well my first though is that a WAN going down is something that triggers an alert so simply configuring the built in notifications would send something whenever that happens.
                      You could probably use SMTP. You could use syslog exporting and parse that at the server.

                      So currently you have a scheduled script that runs the php widget code and sends back the result to some central collection point?

                      Steve

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

                        Or NET-SNMP with an external script which returns the gateway status.

                        Or a similar agent like Zabbix or NRPE which could be scripted in similar ways.

                        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 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.