Logs & Capture
Syslog Relay
Stream syslog lines from the device.
Syslog Relay exposes com.apple.syslog_relay through SyslogRelayClient. The client reads log lines from the relay stream.
Use It For
- Read live syslog output.
- Pipe device logs to a terminal or file.
- Debug service behavior while running examples.
Feature Flag
[dependencies]
idevice = { version = "0.1.64", features = ["usbmuxd", "syslog_relay"] }Service Names
| Path | Value |
|---|---|
| Lockdown | com.apple.syslog_relay |
| RSD | com.apple.syslog_relay.shim.remote |
Rust Example
use idevice::{
IdeviceService,
syslog_relay::SyslogRelayClient,
};
let provider = first_provider().await?;
let mut client = SyslogRelayClient::connect(&provider).await?;
loop {
println!("{}", client.next().await?);
}CLI Equivalent
idevice-tools syslog_relayCommon Errors
| Error | What to check |
|---|---|
| Service not found | The device/iOS version does not advertise this service on the selected transport. |
| Connection failed | Check pairing, trust state, and whether the selected provider can reach the device. |
| Permission error | The service requires a device state, entitlement, or developer setting that is not active. |