1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
.TH LOGGER "1" "December 2025" "GNU inetutils 2.7" "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 <bug\-inetutils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.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.
|