idevice
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

Cargo.toml
[dependencies]
idevice = { version = "0.1.64", features = ["usbmuxd", "syslog_relay"] }

Service Names

PathValue
Lockdowncom.apple.syslog_relay
RSDcom.apple.syslog_relay.shim.remote

Rust Example

src/main.rs
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

Terminal
idevice-tools syslog_relay

Common Errors

ErrorWhat to check
Service not foundThe device/iOS version does not advertise this service on the selected transport.
Connection failedCheck pairing, trust state, and whether the selected provider can reach the device.
Permission errorThe service requires a device state, entitlement, or developer setting that is not active.

Source

On this page