mlogger

Log messages to syslog from the command line

brewmacoslinux
Try with needOr install directly
Source

About

Log to syslog from the command-line

Commands

mlogger

Examples

Log a simple message to syslog$ mlogger 'Application started successfully'
Log with specific priority and tag$ mlogger -p user.info -t myapp 'User login event'
Pipe command output to syslog$ echo 'Backup completed' | mlogger -t backup_script