logger: some switches ignored

Bug #1433710 reported by Andrew Benham on 2015-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Logger
Low
Ben Kietzman
Util-Linux-ng
New
Undecided
Unassigned

Bug Description

Ubuntu 14.04LTS
logger from util-linux 2.20.1

Some switches are silently ignored:

     -s, --stderr
              Output the message to standard error as well as to the system
              log.

  Doesn't work as documented - there is no output on stderr when using this switch

     -n, --server server
              Write to the specified remote syslog server using UDP instead of
              to the builtin syslog routines.

 Doesn't work as documented - there is no network traffic to the specified host, the message is logged to the local syslog

Can't tell if "-d" and "-P" work correctly as I can't get logger to send over the network.

The '-n' problem is known about but nobody seems to be fixing it.

http://askubuntu.com/questions/371604/sending-udp-packets-with-logger-command

Ben Kietzman (ben-kietzman) wrote :

The bug you reported does not apply to the logger application. I think you may be referring to a different logger application. This logger application contains the following switches:

-d, --daemon
--data
-e EMAIL, --email=EMAIL
-h, --help
-r DAYS, --retain-DAYS
-v, --version

Changed in logger:
status: New → Invalid
assignee: nobody → Ben Kietzman (ben-kietzman)
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.