Log messages to syslog from the command line
Log to syslog from the command-line
mlogger
$ mlogger 'Application started successfully'
$ mlogger -p user.info -t myapp 'User login event'
$ echo 'Backup completed' | mlogger -t backup_script