logger Command Examples

Add messages to syslog (/var/log/syslog). More information: https://manned.org/logger.

logger {{message}}

echo {{log_entry}} | logger

echo {{log_entry}} | logger --server {{hostname}} --port {{port}}

echo {{log_entry}} | logger --tag {{tag}}

echo {{log_entry}} | logger --priority {{user.warning}}