[PATCH] hostapd: Set stdout line-buffered
pstew at google.com
Mon Dec 15 10:51:01 EST 2014
I did notice that. In one of our test flows we wanted to make sure both
stdout (really the output of wpa_printf) and stderr (incidental errors
printed by modules not directly within ownership of hostapd) were directed
to the same file and did not fight with each other about file position.
On Sun, Dec 14, 2014 at 7:50 AM, Jouni Malinen <j at w1.fi> wrote:
> 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
> HostAP mailing list
> HostAP at lists.shmoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP