LOGGER(1) LOGGER(1) logger - logger [] logger . , . , -f , . -d, --udp (UDP) . /etc/services, 514. --server --socket . -e, --skip-empty . . . --prio-prefix, . , (. <13>). -f, --file . . -i logger . --id[=] logger . , - logger. --id=$$ (PPID) . Note that the system logging infrastructure (for example systemd when listening on /dev/log) may follow local socket credentials to override the PID specified in the message. logger(1) is able to set those socket credentials to the given id, but only if you have root permissions and a process with the specified PID exists, otherwise the socket credentials are not modified and the problem is silently ignored. --journald[=] systemd-. , , . journald-; systemd.journal-fields(7) . ,,_" , . : logger --journald <_=67feb6ffbaf24c5cbec13c008dd72309 = , . = = end logger --journald=.txt --journald , . , . journalctl(1) . journalctl --output json-pretty . , . , . --msgid - ,,RFC 5424 MSGID". msgid. --rfc5424 ; , . -n, --server . --udp --tcp, logger UDP, TCP . --no-act . --stderr . --octet-count ,,RFC 6587 " . , UDP-, RFC6587 ( ) TCP-. -P, --port . , syslog ,,udp" syslog-conn ,,tcp" . -p, --priority . .. , -p local3.info ,,local3*. user.notice. --prio-prefix . . 8 . , local0.info, =16 =6, <134>. , -p. , , -p. This option doesn't affect a command-line message. This option is primarily designed for use cases where logger is used in a pipeline (e.g., daemon | logger --prio-prefix) to read multiple messages with different priorities. --rfc3164 RFC 3164 BSD . --rfc5424[=] ,,RFC 5424 . : notq, notime, nohost. notq . . --sd-id timeQuality . notime ( notq) ISO-8601 , . nohost gethostname(2) . RFC 5424 logger 2.26. -s, --stderr Output the message to standard error as well as to the system log. The complete message is output in the same form as sent to syslog or journald, including priority and possibly other fields. This option is primarily designed for debugging purposes and is often used with --no-act. --sd-id name[@] RFC 5424 . --sd-param . . ( @) . . @ - . logger timeQuality . RFC 5424 ( ip, enterpriseId, software swVersion) ( sequenceId, sysUpTime language). - @. --sd-param = , . --sd-id . . logger --rfc5424 --sd-id @123 \ --sd-param ="" \ --sd-param ="" \ --sd-id @123 \ --sd-param ="" \ " " : <13>1 2015-10-01T14:07:59.168662+02:00 ws kzak - - [timeQuality tzKnown="1" isSynced="1" syncAccuracy="218616"][@123 ="" =""][@123 =""] -S, --size . 1KiB , RFC 3164. RFC 5424, . RFC 5424 4KiB . 1KiB . , --size logger- ( --rfc5424). : , . . , 50 80 . , , . , 2 4 KiB , . --socket-errors . on, off auto. auto (), logger systemd(1), , /dev/log . /dev/log , openlog(3) . logger(1) 2.26 openlog(3), . , logger(1)-. -T, --tcp (TCP). syslog-conn /etc/services, 601. --server --socket . -t, --tag . ( - ). -u, --socket . -- . (-). -h, --help . -V, --version . logger 0 , >0 . : auth + authpriv + cron daemon + ftp + kern , user lpr mail news syslog user uucp local0 to local7 security auth : emerg alert crit err warning notice info debug panic emerg error err warn warning , syslog(3). logger IEEE Std 1003.2 ("POSIX.2"). logger -p local0.notice -t HOSTIDM -f /dev/idmc logger -n loghost.example.com System rebooted logger 1983-1993. Karel Zak , Rainer Gerhards , Sami Kerola . journalctl(1), syslog(3), systemd.journal-fields(7) , ,,https://github.com/util-linux/util-linux/issues[issue tracker]". logger ,,util-linux" . util-linux 2.42 2026-04-01 LOGGER(1)