[PATCH] hostapd: Set stdout line-buffered

Jouni Malinen j
Sun Dec 14 07:50:43 PST 2014


On Thu, Dec 04, 2014 at 02:23:35PM -0800, Paul Stewart wrote:
> If hostapd will use stdout for debugging, set stdout to be line
> buffered in case its output is redirected to a file.  This allows
> incremental output to be viewed immediately instead of at the file
> buffering interval.

Is there a specific reason why stdout would be redirected to a file
instead of using the existing -f command line argument to configure the
log entries to be written to a file? That -f option is already using
line buffered mode.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list