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

    Increase kernel logs in 2.6.0

    Scheduled Pinned Locked Moved Hardware
    logssyslog
    8 Posts 2 Posters 1.5k 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.
    • A
      abs0new Rebel Alliance
      last edited by

      Hi friends.

      I need to do a very simple task on my pfsense box 2.6.0.
      Sorry if it looks stupid but i'm a little stuck here.

      I got issue with a NIC and i want to increase kernel log to have more details for the vendor.

      As i told in the freebsd manual here :

      https://people.freebsd.org/~rodrigc/doc/handbook/configtuning-syslog.html

      i edited :

      /etc/syslog.d/kernel.conf
      

      with :

      # $FreeBSD$
      kern.info       /var/log/kernel.log
      
      

      and rebooted :

      i don't have anything written in the file.

      It seems clog i the new "log rotation keep size" since >2.5.0 :

      I read the log's doc :

      I can't find how to setup things correctly.
      Can someone give me a hint on this please?

      Thank you in advance friends.

      PS: i can't install a remote log server for the moment

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

        Did you try booting in verbose mode instead?

        What is the NIC? What details are you looking for?

        Steve

        1 Reply Last reply Reply Quote 0
        • A
          abs0new Rebel Alliance
          last edited by abs0new

          Thank you @stephenw10 .

          I got a NIC wich i need to up after the multiuser boot .

          I didn't try to boot in verbose ; should i go to the menu and type something like this :

          boot -v
          

          as i see in this doc :

          https://docs.freebsd.org/en/books/handbook/boot/#boot-introduction

          I wanted to see if some kernel logs can tell me something is wrong or need a kernel mod tweak .

          The NIC is HP 560 SFP+ with this chipset.

          ix2@pci0:4:0:0: class=0x020000 card=0x17d3103c chip=0x10fb8086 rev=0x01 hdr=0x00                                                                                                              
              vendor     = 'Intel Corporation'                                                                                                                                                          
              device     = '82599ES 10-Gigabit SFI/SFP+ Network Connection'                                                                                                                             
              class      = network                                                                                                                                                                      
              subclass   = ethernet
          

          I already got some logs from kernel in syslog but i wanted it more verbose.

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

            I have that exact NIC. It works fine.
            What are you trying to make it do? What's it not doing?

            Steve

            A 1 Reply Last reply Reply Quote 0
            • A
              abs0new Rebel Alliance @stephenw10
              last edited by abs0new

              @stephenw10 Hi sorry for the delay

              The interface doesn't up at boot i need to do

              ifconfig ix3 up
              

              I managed to boot with boot -v
              but couldn't see any nasty logs.

              I can give you more details tomorrow ( don't have the sever on hand right now) .

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

                Hmm, pfSense will do that to the interface when it configures it at boot as long as it's assigned and enabled. How are you using it?

                A 1 Reply Last reply Reply Quote 0
                • A
                  abs0new Rebel Alliance @stephenw10
                  last edited by

                  @stephenw10 Very sorry for the long delay. I was in long vacation and got a huge pile of work at return.

                  Fortunately the card has been well configured and now works like a charm.

                  I use it as trunk for all the vlan on my L.A.N .

                  Nevertheless i feel sorry for any reader of this thread for not providing solution to kernel log increasing. :(

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

                    The logging used by pfSense can be seen here: /var/etc/syslog.d/pfSense.conf
                    As it says there though that file is auto-generated and should not be edited directly.

                    However if you look there you will see that kern.debug is already being written to the system log so I would expect that to include anything at the lower priority level 'info'.

                    Steve

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