# Syslog on iPhone

/var/log/syslog
# echo "*.* /var/log/syslog" > /etc/syslog.conf
# cd /System/Library/LaunchDaemons
# plutil -convert xml1 com.apple.syslogd.plist
# sed -i '/<string>\/usr\/sbin\/syslogd<\/string>/ a \
> \t\t<string>-bsd_out</string>\n\t\t<string>1</string>' com.apple.syslogd.plist.backup
# plutil -convert binary1 com.apple.syslogd.plist
# reboot
# tail -f /var/log/syslog
Socat
# socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock
> help
> watch

No comments: