Skip to content

Instantly share code, notes, and snippets.

@stupidbodo
Forked from mdub/syslog-injection.sh
Created November 19, 2013 01:53
Show Gist options
  • Save stupidbodo/7538928 to your computer and use it in GitHub Desktop.
Save stupidbodo/7538928 to your computer and use it in GitHub Desktop.
# Redirect STDOUT/STDERR into syslog
exec > >(logger -p user.info) 2> >(logger -p user.warn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment