[Asterisk-Dev] Help/hints for debug?

Kevin P. Fleming kpfleming at starnetworks.us
Fri Dec 24 08:55:49 MST 2004


Rich Adamson wrote:

> The majority of printk's in wctdm.c are not #ifdef'ed, so I guess the
> statements are active in stock compile. Does that sound reasonable?

No, look closer at the code :-) They are all protected by if statements 
that check a variable called "debug" to see if it is non-zero (or 
higher). That variable's value gets set by passing a parameter to the 
module when it is loaded... "debug=1" or higher.

> This happens to be a RHv9 machine. I see klogd is running and the syslog.conf
> has the kern.* commented out. Is your best guess simply to uncomment that
> line directing output to a file?

That will also be necessary, yes.



More information about the asterisk-dev mailing list