-
-
Save ruiteix/232613351e0aa4ad52c8e36e764730f4 to your computer and use it in GitHub Desktop.
Redirect STDOUT and STDERR into syslog, using "logger", and bash process substitution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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