Debug Enabling

hi ,
Can someone help me on how to turn the DEBUG Messages in BRO-0.911
Current Release .
I did try ./configure --enable-debug and also by defining #define DEBUG
in main.cc .
But i could not find the Debug Messages.

I was playing around the code to Drop the Telnet Packets based on
Connections. But BRO gets Autorestarted or Stoped at a time when the
timer gets invoked seems to be Expiry Timer .. which invokes
ConnCompress::Remove()

and finally landing in tcp_conns.RemoveEntry(k) which lands in this
debug msg -> internal_error(fmt("connection missing"))

Could somebody shed some light on this ?

Thanks,
Anand

I did try ./configure --enable-debug and also by defining #define DEBUG
in main.cc .

Compiling with --enable-debug activcates the "-B <stream>"
command-line option in which <stream> is a list of comma-seperated
tags activating different kinds of debugging output. There's no
documentation of the tags yet but you can find a list of them in
src/DebugLogger.cc. The output will be written to debug.log

That said, this logging framework is one of the more recent
developments and not yet consistently used across the whole system.
Older parts of code for debugging output usually depend on setting
some special flag somewhere (often inside the code plus recompile)
to activate (and they still require --enable-debug to be compiled
in).

I was playing around the code to Drop the Telnet Packets based on
Connections. But BRO gets Autorestarted or Stoped at a time when the
timer gets invoked seems to be Expiry Timer .. which invokes
ConnCompress::Remove()

Sorry, I don't really understand this...

Robin