Manual Page Search Parameters
logger(1P, 1p) log messages
inetutils-logger, logger(1) Send messages to the system log
util-linux-logger, logger(1) enter messages into the system log

LOGGER(1) User Commands LOGGER(1)

logger - Send messages to the system log

logger [ OPTION...] [MESSAGE]

Send messages to syslog
-4, --ipv4
use IPv4 for logging to host
-6, --ipv6
use IPv6 with a host target
-f, --file=FILE
log the content of FILE
-h, --host=HOST
log to HOST instead of to the default /dev/log
-i, --id[=PID]
log the process id with every line
-p, --priority=PRI
log with priority PRI
-s, --stderr
copy the message to stderr
-S, --source=IP
set source IP address
-t, --tag=TAG
prepend every line with TAG
-u, --unix=SOCK
log to UNIX socket SOCK instead of /dev/log
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Written by Sergey Poznyakoff.

Report bugs to <bug-inetutils@gnu.org>.

Copyright © 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
 
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

syslogd(1)
The full documentation for logger is maintained as a Texinfo manual. If the info and logger programs are properly installed at your site, the command
info logger
should give you access to the complete manual.
May 2015 GNU inetutils 1.9.2.67-d7a1