Generate syslog messages

For this use logger:

logger [options] message
Options:
-p FACILITY.SEVERITY, defaults to user.notice if not specified
-t TAG
Example:
logger -p mail.info -t mailtest "Test"