Protocol debugging actually produces <TRACE> messages, not <DBG>. The <DBG> class is used very rarely.
Hi Martin, Yes, that's what I mostly got in my log file. But the <DBG> messages show a lot of information very intersting for me about the internal procedures of BIRD. Is there any way of getting them in my log file? or is it completely impossible? I would like to get messages with values of variables while running, or at least, messages in the log file to know if the program enters into a certain switch-case, and that kind of things. I tried with the BGP_TRACE(D_PACKETS, "hello") function in attrs.c (the file which i am mostly working on), but it crash when I execute "make". It seems like if it is not declared, or something like that. Can you tell me where is the BGP_TRACE declaration, in order to undertand it? Thank you very much Martin! Jorge -jorge1981@gmai.com- 2006/8/3, Martin Mares <mj@ucw.cz>:
Hi!
What I originally wanted was to get <DBG> messages in my log file, and it continue without them. I don't know where is my error;I thnik I have activated all the "debug" options...Here is my configuration file:
debug protocols all; log "/log_bird" all;
Protocol debugging actually produces <TRACE> messages, not <DBG>. The <DBG> class is used very rarely.
Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/<http://atrey.karlin.mff.cuni.cz/%7Emj/> Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth War doesn't determine who's right. It determines who's left.