Re: Syslog and pg_options (for RPMs)

From: "Dominic J(dot) Eidson" <sauron(at)the-infinite(dot)org>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Syslog and pg_options (for RPMs)
Date: 2001-02-08 20:52:14
Message-ID: Pine.LNX.4.21.0102081449550.32330-100000@morannon.the-infinite.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 8 Feb 2001, Lamar Owen wrote:

> A syslogger of stderr would make a nice place to pipe the output :-).
> 'postmaster .... 2>&1 | output-to-syslog-program -f facility.desired' or
> some such. But that obviates the need to support syslog _at_all_ in the

2>&1 | logger -p facility.level

morannon:~> man logger
LOGGER(1) System Reference Manual
LOGGER(1)

NAME
logger - make entries in the system log

SYNOPSIS
logger [-is] [-f file] [-p pri] [-t tag] [-u socket] [message ...]

DESCRIPTION
Logger provides a shell command interface to the syslog(3) system log
module.

--
Dominic J. Eidson
"Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/ http://www.the-infinite.org/~dominic/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-02-08 20:56:02 Re: Syslog and pg_options (for RPMs)
Previous Message Tom Lane 2001-02-08 20:48:49 Re: Btree runtime recovery. Stuck spins.