.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. .TH LOGGER "1" "September 2021" "GNU inetutils 2.2" "User Commands" .SH NAME logger \- Send messages to the system log .SH SYNOPSIS .B logger [\fI\,OPTION\/\fR...] [\fI\,MESSAGE\/\fR] .SH DESCRIPTION Send messages to syslog .TP \fB\-4\fR, \fB\-\-ipv4\fR use IPv4 for logging to host .TP \fB\-6\fR, \fB\-\-ipv6\fR use IPv6 with a host target .TP \fB\-f\fR, \fB\-\-file\fR=\fI\,FILE\/\fR log the content of FILE .TP \fB\-h\fR, \fB\-\-host\fR=\fI\,HOST\/\fR log to HOST instead of to the default \fI\,/dev/log\/\fP .TP \fB\-i\fR, \fB\-\-id\fR[=\fI\,PID\/\fR] log the process id with every line .TP \fB\-p\fR, \fB\-\-priority\fR=\fI\,PRI\/\fR log with priority PRI .TP \fB\-s\fR, \fB\-\-stderr\fR copy the message to stderr .TP \fB\-S\fR, \fB\-\-source\fR=\fI\,IP\/\fR set source IP address .TP \fB\-t\fR, \fB\-\-tag\fR=\fI\,TAG\/\fR prepend every line with TAG .TP \fB\-u\fR, \fB\-\-unix\fR=\fI\,SOCK\/\fR log to UNIX socket SOCK instead of \fI\,/dev/log\/\fP .TP \-?, \fB\-\-help\fR give this help list .TP \fB\-\-usage\fR give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR print program version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SH AUTHOR Written by Sergey Poznyakoff. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" syslogd(1) .PP The full documentation for .B logger is maintained as a Texinfo manual. If the .B info and .B logger programs are properly installed at your site, the command .IP .B info logger .PP should give you access to the complete manual.