pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vygen@kicktipp.de
To: pgsql-bugs@postgresql.org
Subject: BUG #6518: archive_command stderr not in log if log_destination=syslog
Date: Mon, 05 Mar 2012 12:14:26 +0000
Message-ID: <E1S4Wo6-0001f5-Oq@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6518
Logged by:          Janning Vygen
Email address:      vygen@kicktipp.de
PostgreSQL version: 9.1.2
Operating system:   Linux / Debian
Description:        

I am using postgresql 9.1.2 from debian backports.

The documentation for 9.1 says about archive_command:

"Any messages written to stderr from the script will appear in the database
server log, allowing complex configurations to be diagnosed easily if they
fail."

<http://www.postgresql.org/docs/9.1/static/continuous-archiving.html#BACKUP-TIPS;

This is not true if log_destination=syslog

Messages to sdterr does not appear at all anywhere. I prefer syslog because
of pgfouine.

Great if it can be fixed. At least this should be documented.

kind regards 
Janning





view thread (3+ messages)  latest in thread

Message-ID: <E1S4Wo6-0001f5-Oq@wrigleys.postgresql.org>
Permalink:  ../E1S4Wo6-0001f5-Oq@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1S4Wo6-0001f5-Oq@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: vygen@kicktipp.de
  Subject: Re: BUG #6518: archive_command stderr not in log if log_destination=syslog
  In-Reply-To: <E1S4Wo6-0001f5-Oq@wrigleys.postgresql.org>
  References: <E1S4Wo6-0001f5-Oq@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox