[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 1022] Re: re: can't open altq device on NetBSD
> How about a more specific question... I KNOW I can add a log command of some
> sort, so can you tell me (someone who programs, but not in C, in Linux, and
> definitely not in the kernel) what the syntax of the log command I should
> use is, and what you think are the best places to put it?
If you don't plan on spitting out a lot of output, printf() works just
fine. The output is on the console (run xconsole if you're not sitting
at the console).
This may not be what you're really looking for, but that's sufficient
in most cases. (I programmed a complete scheduler in ALTQ using this for
debugging - and gdb -k too, but you won't have to do that :)