On Tue, Jul 09, 2019 at 08:42:24AM -0700, PGNet Dev wrote: > I build/run hostapd on linux. > > I use logrotate.d to manage logfiles. > > For hostapd, using > > > /var/log/hostapd/hostapd.log { How do you make that file? With the -f<file> command line argument to hostapd? > correctly rolls the log, creating a archive, but there's no more writing to > the existing/active log. Until I manually *restart* hostapd ... > > What's the correct non-connection-terminating postrotate clause > > ... > postrotate > ??? > endscript > > that properly signals hostapd to continue writing to its main log? If you are using -f on the command line, sending RELOG command over the control interface (e.g., with "hostapd_cli RELOG") requests hostapd to close and reopen the log file. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap