[0.5.9 PATCH] Make output logging to file usable on *NIX platforms

Dan Williams dcbw at redhat.com
Thu Dec 6 16:32:51 EST 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: 059-log-to-file.patch
Type: text/x-patch
Size: 2441 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20071206/e819e0b8/attachment.bin 


More information about the HostAP mailing list