Increase kernel logs in 2.6.0
-
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
rotationkeep 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
-
Did you try booting in verbose mode instead?
What is the NIC? What details are you looking for?
Steve
-
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.
-
I have that exact NIC. It works fine.
What are you trying to make it do? What's it not doing?Steve
-
@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) .
-
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?
-
@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. :(
-
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