debugging a libnetfilter_queue program and stdout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote a program using libnetfilter_queue. Call it "tst". 
It normally runs as a service, but when I am debugging it, I
put some printf statements in it and run it in the foreground
by typing:

   tst

and the printf results appear on the screen as expected. However,
if I expect a long output, I would rather type:

   tst > log

hoping to see the results in the file "log".  However, "log" is
always empty, even though I have other indications that "tst" is
running.

Why is this?  Is there anything I could do to get the printf
results to appear in "log"?

Thanks,
Mike.

--
Michael D. Berger
m.d.berger@xxxxxxxx
http://www.rosemike.net/
 

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux