Skip to content

Instantly share code, notes, and snippets.

@kirb
Last active July 7, 2018 00:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirb/5128340 to your computer and use it in GitHub Desktop.
Save kirb/5128340 to your computer and use it in GitHub Desktop.
Best way to watch the syslog on-device

Add this to /etc/profile:

alias syslog="socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock"

Install socat from Cydia if you haven't already, run . /etc/profile to re-read the script and then you can type:

~$ syslog
ASL is here to serve you
> watch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment