Enquanto procurava /var/log
no MacOS 10.11, encontrei este arquivo de log wifi.log. A pesquisa a seguir lhe dará uma boa perspectiva sobre a mudança de status do WiFi:
$ grep processAirPortStateChanges /var/log/wifi.log \
| grep connect \
| grep -v -e "old state=disconnected, new state=disconnected" \
-e "old state=connecting, new state=connecting" \
-e "old state=disconnected, new state=auto-join" \
-e "old state=auto-join, new state=connecting" \
| cut -d' ' -f1-5,12-
Exemplo de saída (sim, meu novo roteador Comcast está sendo flakey, então me deparei com essa pergunta procurando por arquivo de log):
Sun Apr 3 00:46:08.540 old state=connecting, new state=4 bars
Sun Apr 3 01:46:50.509 old state=4 bars, new state=disconnected
Sun Apr 3 01:46:52.839 old state=4 bars, new state=connecting
Sun Apr 3 01:46:53.944 old state=connecting, new state=4 bars
Sun Apr 3 02:47:36.283 old state=4 bars, new state=disconnected
Sun Apr 3 02:47:37.900 old state=4 bars, new state=connecting
Sun Apr 3 02:47:38.385 old state=connecting, new state=4 bars
Sun Apr 3 03:49:38.732 old state=4 bars, new state=disconnected
Sun Apr 3 04:50:24.289 old state=4 bars, new state=disconnected
Sun Apr 3 04:50:26.313 old state=4 bars, new state=connecting
Sun Apr 3 04:50:27.026 old state=connecting, new state=4 bars
Sun Apr 3 05:51:10.288 old state=4 bars, new state=disconnected
Sun Apr 3 06:35:17.291 old state=4 bars, new state=disconnected
Sun Apr 3 06:35:19.983 old state=connecting, new state=4 bars
Sun Apr 3 08:18:36.758 old state=4 bars, new state=disconnected
Sun Apr 3 08:18:41.836 old state=4 bars, new state=connecting
Sun Apr 3 08:18:42.187 old state=connecting, new state=4 bars