[PATCH] hostapd: Set stdout line-buffered

Paul Stewart pstew
Mon Dec 15 07:51:01 PST 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
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20141215/2ce15488/attachment-0001.htm>



More information about the Hostap mailing list