Skip to content

logger

send message to syslog server

useful for testing

send via TCP using the -T flag:

logger -n localhost -P 6514 -T -i "hello world"

send via UDP using the -d flag:

logger -n localhost -P 6514 -d -i "hello world"