Post

AirPods and the Apple Unified Log. Part 1. Introduction and methodology

Investigating the Apple Unified Logging to find artefacts of connected Airpods. Part 1

AirPods and the Apple Unified Log. Part 1. Introduction and methodology

The Apple Unified Log (AUL) records a large amount of diagnostic and operational information generated by iOS and its services. While using my AirPods I got curious which artefacts are recorded in the AUL during the use of AirPods with an iPhone.

To find out I used an iPhone 12 paired with AirPods Pro. The Apple Unified Log (AUL) was collected after the activity and analyzed to determine which user interactions can be reconstructed from the logging based on the artefacts.

This post is the first in a serie that examines which AirPods related artefacts are recorded in the Apple Unified Log. Each subsequent post focuses on one specific user interaction.

Research question

What artifacts can be found in the Apple Unified Logs of during the use of AirPods paired with an iPhone?

Test methodology

To generate the logging I performed the following actions using a AirPods Pro with firmware 6F21 and a paired iPhone 12 using iOS 26.5.

  1. Open the Charging Case.
  2. Remove both AirPods and place them in the ears.
  3. Close the Charging Case.
  4. Start music playback using the right AirPod.
  5. Pause playback using the left AirPod.
  6. Remove both AirPods.
  7. Return both AirPods to the Charging Case.
  8. Close the Charging Case.

These actions where performed in a 5 minute timewindow.

The Apple Unified Log was collected using filtering for the times of these actions.

1
2
3
# log collect --device iphone12 --start "2026-06-29 16:19:00" --output iphone12_2906.logarchive

# log show --archive iphone12_2906.logarchive --start "2026-06-29 16:19:00" --end "2026-06-29 16:19:30" --info --debug > iphone12_2906.log

Timeline

Using the AUL, the following timeline could be constructed:

TimeUser actionObservable Apple Unified Log artefactsBlog part
16:19:01.591Charging Case openedAirPods detected through Bluetooth advertisement. Pairing information published. ANC mode logged as Transparency. Lid reported open (lid closed: no).Part 2
16:19:01.602Charging Case openedCase battery information published.Part 2
16:19:01.603 to 16:19:01.734AirPods in caseBattery information for right AirPod followed by combined left and right batteries becomes available.Part 2
16:19:02.156AirPods removed from casenearbyInCase changes from yes to no.Part 3
16:19:03.326Right AirPod outside earRight AirPod transitions from Unknown to OutOfEar. Secondary AirPod still Unknown.Part 3
16:19:03.930Left AirPod outside earLeft AirPod transitions from Unknown to OutOfEar. Both AirPods now OutOfEar.Part 3
16:19:04.220Right AirPod insertedPrimary bud changes to InEar while secondary remains OutOfEar.Part 3
16:19:04.474Left AirPod insertedBoth AirPods become InEar. State changes from SingleBud to BothBuds.Part 3
16:19:05.062Audio connection establishedFind My reports both AirPods connected without playing sound.Part 3
16:19:06.688Play commandAVRCP Play command received. Logged as cmd Play. No indication which AirPod generated the command.Part 5
16:19:06.835 to 16:19:07.033Audio streaming beginsA2DP streaming initiated.Part 5
16:19:07.047Active listeningBluetooth advertisement reports audio state A2DP. ANC Transparency remains active.Part 5
16:19:13.257Pause commandAVRCP Pause command received. Logged as cmd Pause. No indication which AirPod generated the command.Part 6
16:19:16.349Right AirPod removed from earPrimary bud changes to OutOfEar. Usage summary changes from BothBuds to SingleBud.Part 7
16:19:16.416Left AirPod removed from earSecondary bud changes to OutOfEar. Usage summary becomes Invalid because neither AirPod is in ear.Part 7
16:19:16.653Open Charging CaseCase recorded as Power sourcePart 8
16:19:17.562Right AirPod returned to Charging CasePrimary bud changes from OutOfEar to InCase.Part 8
16:19:17.672Left AirPod returned to Charging CaseSecondary bud changes from OutOfEar to InCase.Part 8
16:19:18.791Both AirPods inside Charging CasenearbyInCase changes to yes. nearbyLidClosed changes to yes.Part 8
16:19:18.790Charging Case closedBluetooth advertisement reports lidClosed yes, primaryInCase yes, secondaryInCase yes.Part 9

Overview of the articles

This post is licensed under CC BY 4.0 by the author.