]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: support for logging to UDP socket / remote syslog server
authorWUEBBELS, Josef \(Extern\) <Josef.WUEBBELS@mtu.de>
Fri, 28 Jan 2011 13:15:20 +0000 (14:15 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Feb 2011 16:59:28 +0000 (17:59 +0100)
commit912d6b98925a34b05fb4791a2f52225b06c420af
treee2ffd9923b4018a70abbf74bd802e1c4f6829ec3
parenteb76ca98b0733754d7e9a40f754e89b50af2bf06
logger: support for logging to UDP socket / remote syslog server

It adds the ability to logger to log a message to a udp socket.  The -n option
followed by the hostname of the remote host is mandatory to do this.  The
optional -P option can be used to change the UDP destination port (default
514).  The function udpopenlog is used to open the udp socket. After that
everything works in almost the same way like it does when logging to a UNIX
socket.

Signed-off-by: Josef Wuebbels <josef.wuebbels@mtu.de>
misc-utils/logger.1
misc-utils/logger.c