Posted on 07-18-2017 12:52 PM
Hello,
EAPOL Client Logging used to be able to be turned on in verbose mode and drop log files under /var/log, but it doesn't seem to be doing that any more in macOS Sierra. Essentially I'm trying to troubleshoot some 802.1X Wired Authentication issues on the client side. Does anyone know how to enable that in Sierra and where it gets logged?
Posted on 07-19-2017 06:59 AM
It is no longer enabled in 10.12.x and up. You have to run a system diagnose to get EAPOL logging. You get it again by following these steps:
Hold Option and click the Wi-Fi menu
Choose 'Open Wireless Diagnostics'
Go to Window > Logs
Check the box for Wi-Fi and System
Close Wireless Diagnostics
Reproduce the issue and note the time
Gather a sysdiagnose (Ctrl-Option-Cmd-Shift-Period)
When the sysdiagnose completes, open the system_logs.logarchive file within it in the Console and you can filter on 'eapolclient' there. Once there you should be able to find what you're looking for.
Posted on 06-14-2018 12:07 PM
If you would like to get the logs for this subsystem in 10.12+, you do not need to perform a sysdiagnose. Run the following command to see the last day's worth of logs:
log show --predicate 'subsystem contains "com.apple.eapol"' --info --debug --last 24h
Obviously, this timeframe can be modified to suit your needs.
If you'd like to see the logs in realtime, use log stream
and omit the time:
log stream --predicate 'subsystem contains "com.apple.eapol"' --info --debug