Logging to syslog at the console

The logger command is a very simple way to log something to syslog from the command line. It's also very handy in a script to log specific output.

logger "This is a a test of logger"
Leave A Reply
All content licensed under the Creative Commons License