[Howto] send a syslog message manually

posted in: computer | 0

the following commands send a syslog-message to the syslog-daemon with the syslog-facility=auth and syslog-priority=info:

#to localhost's syslog-daemon
logger -p auth.info <message>

#to a remote syslog-daemon
logger -h <IP> -P <Port> -p auth.info <message>