Skip to contentSkip to conversation

debugging messages

DISCUSSION patrick andrieux 2 participants 2 messages Mar 20, 2007

lore
Share & tools
lore
#0 lore raw

Hi list !

I'm trying to find out where debug messages are print out, like ccid3_pr_debug(...), DCCP_WARN(...), ....
I compiled the latest kernel 2.6.20-3, with all DCCP options enabled (DCCP debug messages, ccid2/3 debugging messages, ....) and with all DCCP patches applied. But I still don't find any messages in log from /var/log/ .
Did I missed something ?
How can I get these messages ?

Thanks.

regards,
Patrick.

#1 lore raw
Quoted 11 lines · patrick andrieux

Hi list !

I'm trying to find out where debug messages are print out, like ccid3_pr_debug(...), DCCP_WARN(...), ....
I compiled the latest kernel 2.6.20-3, with all DCCP options enabled (DCCP debug messages, ccid2/3 debugging messages, ....) and with all DCCP patches applied. But I still don't find any messages in log from /var/log/ .
Did I missed something ?
How can I get these messages ?

Quoted 5 lines

Thanks.

regards,
Patrick.
-

Hi there Patrick,

First of all you need to turn on debugging when you load the module e.g. put something like this in /etc/modprobe.d/network options dccp_ccid3 ccid3_debug=1
options dccp dccp_debug=1

and then make sure you're catching debug message in your /etc/syslog.conf file with a line something like:
*.* -/var/log/syslog

NB These file locations are for Debian. Look for the equivalent in your distro.

Ian

Signature · 3 lines
Web: http://wand.net.nz/~iam4
Blog: http://iansblog.jandi.co.nz
WAND Network Research Group