idevicesyslog(1)
π idevicesyslog(1) π β okay bestie, let's talk syslog
Hiiii so this is the General Commands Manual page for idevicesyslog and honestly? She's a baddie. Let's get you fluent. π¦
β¨ NAME β¨
idevicesyslog β Relay syslog of a connected device.
π SYNOPSIS π
idevicesyslog [OPTIONS]
π DESCRIPTION π
Relay syslog of a connected device.
That's it. That's the whole description. Short, sweet, main character energy. π
π₯ OPTIONS π₯
-u,--udidUDID β target specific device by UDID-n,--networkβ connect to network device-x,--exitβ exit when device disconnects-d,--debugβ enable communication debugging-h,--helpβ prints usage information-v,--versionβ Prints version information.--no-colorsβ disable colored output-o,--outputFILE β Write to FILE instead of stdout. This will disable writing colored output, but can be re-enabled with--colors. If FILE already exists, it will be overwritten without warning.--colorsβ Force writing colored output, e.g. when using--output.--syslog-relayβ Use oldsyslog_relayservice instead ofos_trace_relay(iOS 9+).
bestie, listen β that -o one is feral. It does not ask permission. If FILE is already sitting there, it gets clobbered. No warning, no "are you sure", no nothing. π
π COMMANDS π
pidlist
Print a list with PID and name of all processes currently running on the device. Little roster check, love that for us. π
archive PATH
Request a logarchive from the device. It will be written in tar format to PATH. To pipe to another process use - as PATH. Below are some options to restrict the log message data.
In order to view the logarchive in a compatible log viewer, you can pipe the output data to tar and have it extract into a new directory:
mkdir test.logarchive && tools/idevicesyslog archive - |tar -C test.logarchive -xv
This will also print the filenames while they are extracted.
Further options for archive: πΈ
--start-timeVALUE β Start time of the log data as UNIX timestamp. Earlier messages will be dropped.--age-limitVALUE β Maximum age of the log data, supposedly number of days.--size-limitVALUE β Limit the size of the archive. The unit is currently unknown, so feel free to experiment.
Keep in mind that the device usually only has a backlog of a few minutes so the options might not have the desired effect. This is not a bug. π«Ά (the docs said it, not me, and they said it with their whole chest)
π FILTER OPTIONS π
-m,--matchSTRING β only print messages that contain STRING-M,--unmatchSTRING β print messages that do not contain STRING-t,--triggerSTRING β start logging when matching STRING
When specified, logging will start as soon as a log messages is encountered that contains the given string. See also -T, --untrigger. Other filters are still applied but obviously filtered messages are only printed after logging has started.
-T,--untriggerSTRING β stop logging when matching STRING
When specified logging will halt as soon as a log message is encountered that contains the given string. See also -t, --trigger. Other filters are still applied but obviously filtered messages are only printed before logging stops.
NOTE: If no--triggeris given,idevicesyslogwill exit after a matching log message was encountered.
-p,--processPROCESS β only print messages from matching process(es)
PROCESS is a string that can either be a numeric pid or a process name. It also supports multiple process names or pids in one string, separated by | (make sure to use quotes!).
-e,--excludePROCESS β print all messages except matching process(es)
PROCESS is a string that can either be a numeric pid or a process name. It also supports multiple process names or pids in one string, separated by | (make sure to use quotes!).
-q,--quietβ set a filter to exclude common noisy processes
Since the syslog can be quite noisy, this quick command line switch allows silencing a predefined set of commonly known processes. The list of processes that are silenced can be retrieved with --quiet-list.
--quiet-listβ prints the list of processes for--quietand exits-k,--kernelβ only print kernel messages
This is actually equivalent to passing --process kernel with the exception that it can be used with --quiet to silence out the noisy process but still get all the kernel log messages.
-K,--no-kernelβ suppress kernel messages
This is equivalent to passing --exclude kernel.
π EXAMPLES π
idevicesyslog -u 00008030-0000111ABC000DEFRelay syslog of device with UDID00008030-0000111ABC000DEF.idevicesyslog -xRelay syslog of device and exit when the device is unplugged.idevicesyslog -m '####' -e 'identityservicesd' -KOnly print log messages that contain the string####and do NOT originate fromidentityservicesdor the kernel.idevicesyslog -p MyApp -p ReportCrashOnly print log messages from the process named 'MyApp' and 'ReportCrash'.idevicesyslog -p 'MyApp|ReportCrash'Same as previous example with different syntax.idevicesyslog -e 'backboardd|CommCenter|mDNSResponder'Suppress log messages frombackboardd,CommCenter, andmDNSResponder.idevicesyslog -q -kSuppress log messages from common noisy processes, but DO print kernel log messages.idevicesyslog -KSuppress log messages from kernel, but print everything elseidevicesyslog -t 'backlight on' -T 'backlight off' -qStart logging when the device turns on backlight and stop logging when it turns backlight off, and suppress noisy processes
π AUTHORS π
Nikias Bassen, Martin Szulecki
Man page written to conform with Debian by Julien Lavergne.
π ON THE WEB π
And that's the whole vibe check, bestie β you just read idevicesyslog(1) from the General Commands Manual, start to finish, no skips. Go relay some syslog. Slay. Periodt. πβ¨
π¦ where this page comes from
- alpine 3.24: libimobiledevice-doc 1.4.0-r0 Β· LGPL-2.1-or-later
- arch rolling: libimobiledevice 1.4.0-2 Β· LGPL-2.1-or-later
- fedora 44: libimobiledevice-utils 1.4.0-3.fc44 Β· LGPL-2.0-or-later AND MIT AND Zlib
- nixos 26.05: libimobiledevice 1.4.0
- nixpkgs unstable: libimobiledevice 1.4.0
- ubuntu resolute: libimobiledevice-utils 1.4.0-1build1 Β· LGPL-2.1-or-later
- ubuntu stonking: libimobiledevice-utils 1.4.0-1build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms