LOGGER(1) | General Commands Manual (urm) | LOGGER(1) |
logger
— make
entries in the system log
logger |
[options ...] [message ...] |
logger
provides a shell command interface
to the syslog(3) system log module.
-4,
--ipv4
-6,
--ipv6
-S
,
--source
ip-h
,
--host
host-u
,
--unix
sock-i
,
--id
[pid]-s
,
--stderr
-f
,
--file
file-p
,
--priority
pri-t
,
--tag
tag--usage
-?,
--help
-V,
--version
-f
flag is not provided, standard input is
logged.The logger
utility exits 0 on success, and
>0 if an error occurs.
logger System rebooted logger -p local0.notice -t HOSTIDM -f /dev/idmc
The logger
command is expected to be
IEEE Std 1003.2 (“POSIX.2”)
compatible.
February 15, 2019 | GNU Network Utilities |