Howto enable Bird debug messages (DBG)
Vonlanthen, Elmar
Elmar.Vonlanthen at united-security-providers.ch
Tue Dec 1 09:02:56 CET 2009
Hello all
How can I enable the debug messages, printed with the macro DBG?
I tried with:
./configure --enable-debug
and adding:
if test "$enable_debug" = yes ; then
cat >>confdefs.h <<\_ACEOF
#define DEBUGGING 1
+ #define LOCAL_DEBUG 1
+ #define GLOBAL_DEBUG 1
_ACEOF
and starting with:
bird -d ...
or:
bird -d -D /var/log/bird.debug
But I never see the messages printed with "DBG".
For example:
sysdep/unix/main.c: DBG("Initializing.\n");
What do I do wrong?
I use bird 1.1.6 on a Gentoo Linux system.
Thanks for any help.
Best regards
Elmar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5234 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20091201/2375371d/attachment.bin>
More information about the Bird-users
mailing list