
Download cinject from this Dev Team blog post (for OS X and Windows).

Ryan Petrich's deviceconsole also provides the same functionality with useful color-coding.Īpple's iPhone Configuration Utility can display the syslog on Windows. Ensure "syslogd to /var/log/syslog" is installed - the toggle package hasn't marked it as a dependency.Ī binary (and its source code) to view ASL messages from Mac using the amework has been made available on. On iOS 6 and below, it may be useful to install the SBSettings syslog toggle for enabling/disabling the syslog in this way, available at BigBoss' Cydia repository. This will delete ( rm) the file and and make a blank regular file ( touch). This will delete ( rm) the file and create a /dev/null. Or if you want to disable syslog writing without uninstalling the package, you can run: You may want to delete the file at /var/log/syslog if you no longer need it. To disable syslog writing, uninstall the syslogd to /var/log/syslog package. Keep an eye on it or employ some log rotation. Unix systems tend to break when they can't write to the syslog. (The "tail" command is in the package "Core Utilities" (coreutils) in the Cydia/Telesphoreo repository.) If you keep your device full of data, be careful you don't fill the disk. var/log/syslog will now be appended to automatically, and you can watch it like so: Launchctl load /System/Library/LaunchDaemons/ Launchctl unload /System/Library/LaunchDaemons/ If you don't want to reboot, you can restart the syslogd instead:

To constantly write syslog output to a file on the device (which can be slower, and the file can become fairly larg e, but can be convenient): install syslogd to /var/log/syslog from saurik's repo and reboot your device. A precompiled version is available in the BigBoss repository. It connects directly to the syslog socket, and displays log entries in real-time, with syntax highlighting. It functions similar to Ryan Petrich's deviceconsole tool, but runs directly on the device, without the need of a computer. If you execute the watch command, a backlog of messages will be printed and new messages will be printed as they arrive.Įvan Swick's ondeviceconsole tool can be used in place of the method mentioned above. This gives an interactive shell with the syslog daemon (no need to enable file output).

Socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock In order to use it, connect to the syslog socket with the following command: If you don't have it yet, run an apt-get on the package socat (or install the package SOcket CAT via Cydia). 2.2 Option B: from your desktop computerĪs iOS is Unix based, it comes as no surprise that its syslog can be read using the same tools desktop Unix and Linux power users use provided the tools are compiled for ARM.2 Detailed instructions for non-developers.1.7 On-device with saving to a file via a Python script.
