diff options
author | Sami Kerola <kerolasa@iki.fi> | 2013-04-05 21:17:24 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2013-04-08 16:31:28 +0200 |
commit | 68265d070d3041d16ab074ba25c610d6ef6c842e (patch) | |
tree | 1bb43a92fa768139a575f69fa90a2292ea54d692 /bash-completion/script | |
parent | e442ab76b5483fb844c98df0faf2d69a303b7bb6 (diff) | |
download | util-linux-68265d070d3041d16ab074ba25c610d6ef6c842e.tar.gz |
logger: allow to log using tcp transport protocol
This commit fixes error in usage() text, which claimed TCP is default
transport protocol. That was not true, and neither it should be. The
syslog messages has traditionally sent using UDP.
For the logger remains using UDP as first transport, but if it fails a
TCP connection is attempted. If an user wishes remote logging can be
forced to use either UDP or TCP. The service port for UDP is familiar
'syslog', for TCP the port 'syslog-conn' seems like reasonable default.
[kzak@redhat.com: - rename myopenlog to unix_socket(),
- always reset st to -1]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'bash-completion/script')
0 files changed, 0 insertions, 0 deletions