This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

where can i see the decoding log

0

I download the wireshark source-code and install it on ubuntu. Now i'd like to see the log when decoding such as: RTMPT_DEBUG("Segment: cdir=%d seq=%d-%d\n", cdir, seq, seq+remain-1). where can i find the log file? (i've enable the macro of DEBUG_RTMPT and compile/re-install). Thanks

asked 26 Feb '12, 18:21

mumulinp's gravatar image

mumulinp
1111
accept rate: 0%


One Answer:

0

Look at the RTMPT_DEBUG macro. It either expands to rtmpt_debug or to a bit of a hack that results in nothing being printed. rtmpt_debug() uses vprintf(), which prints to the standard output, so the "log file" is wherever Wireshark's or TShark's standard output goes. If you run Wireshark in a terminal, then, unless you redirect its standard output, it'll show up on your terminal; your terminal is probably an xterm or Konsole or gnome-terminal or other such terminal-emulator program; it might have scrolling enabled, so you can see more than one screenful of output.

answered 27 Feb '12, 13:47

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%