logger [options] [messages]Solaris only. Log messages to the system log. Command-line messages are logged if provided. Otherwise, messages are read and logged, line-by-line, from the file provided via -f. If no such file is given, logger reads messages from standard input.
-f fileRead and log messages from file.
-iLog the process ID of the logger process with each message.
-p priorityLog each message with the given priority. Priorities have the form facility.level. The default is user.notice. See syslog(3) for more information.
-t tagAdd tag to each message line.