[LARTC] HTB debug info in kernel log

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I set up a Perl script to parse the output of 'tc -s qdisc show dev <if>' t=
o get
stats for MRTG. The only problem is, every time the tc command runs, I get =
many
lines output to my kernel level syslog - 84, to be exact They look somethin=
g
like this:

oatmail kernel: htb*c10124 m=3D2 t=3D22748 c=3D19272 pq=3D0 df=3D4907008 ql=
=3D0 pa=3D0 f:
oatmail kernel: htb*c10094 m=3D2 t=3D86150 c=3D86150 pq=3D0 df=3D237568 ql=
=3D0 pa=3D0 f:
oatmail kernel: htb*g j=3D171630276
oatmail kernel: htb*r7 m=3D0
oatmail kernel: htb*r6 m=3D0

I found some reference in the source to a command to tc to set various debu=
g
levels, although the function that seems to be printing the info
(htb_debug_dump) does not seem to care about the set level - if debug is
defined, it prints. Short of altering the DEFINE statement and recompiling =
the
kernel, is there any way to disable this output?

Thanks,

Brad


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux