[0.6.x PATCH] Make output logging to file usable on *NIX platforms

Dan Williams dcbw
Thu Dec 6 13:43:10 PST 2007


Add a .config option for enabling the output logging, and add a
command-line option for turning this on or off (output is logged to
stdout by default still).  Also set the buffering mode to line-buffered
on *NIX platforms so that output shows up in a reasonable timeframe.
Otherwise it gets buffered in 4096 byte chunks (or whatever the C
library uses for buffer sizes) and doesn't get written in a useful
amount of time.

Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 060-log-to-file.patch
Type: text/x-patch
Size: 2909 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20071206/8171a380/attachment.bin 



More information about the Hostap mailing list