Package: wnpp
Severity: wishlist
Owner: Peter Pentchev <r...@ringlet.net>

* Package name    : stdsyslog
  Version         : 0.02
  Upstream Author : Peter Pentchev <r...@ringlet.net>
* URL             : http://devel.ringlet.net/sysutils/stdsyslog/
* License         : BSD-2
  Programming Lang: C
  Description     : tool to log a program's output to the system log

The stdsyslog utility executes a program, reads everything that it
outputs to a set of file descriptors (by default the standard output and
standard error streams) and logs it to the system log.  Its command-line
options include specifications of the syslog facility and the priorities
that messages on the various file descriptors should be logged as.

--- cut description, start a bit of comment on the reason for this

Yes, I am indeed aware that this may be accomplished using logger(1) and
skillful output-redirection-to-a-program in some shells, but somehow:

  stdsyslog -f local4 sprog args

...strikes me as a bit easier to type than:

  sprog args >(logger -p local4.info) 2>(logger -p local4.err)

...not to mention a bit more portable and also easier to use in
automated program invocations :)

G'luck,
Peter

Attachment: signature.asc
Description: Digital signature

Reply via email to