Re: logging hook

From: Alan Nilsson <anilsson(at)apple(dot)com>
To: Susan Cassidy <susan(dot)cassidy(at)decisionsciencescorp(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: logging hook
Date: 2014-05-13 22:48:10
Message-ID: 6A7D28C3-FD88-4ADC-B600-6402C743FB1E@apple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ah yes once again if I’ld just RTFM….. Thanks for pointing that out, I think I can work with that.

alan

On May 13, 2014, at 2:59 PM, Susan Cassidy <susan(dot)cassidy(at)decisionsciencescorp(dot)com> wrote:

> You can log to syslog, and use the syslog definitions file (syslog.conf) to pipe the output to a program that can do whatever you want with it.
>
> Susan
>
>
> On Tue, May 13, 2014 at 2:29 PM, Alan Nilsson <anilsson(at)apple(dot)com> wrote:
> All
>
> Is there a hook that someone could direct me to that I can use to redirect logging output? I.e. I would like to write a small module that pre loads and substitutes the loggers file descriptor with my own to redirect that output. Possible?
>
> thanks
> alan
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jesus Rafael Sanchez Medrano 2014-05-13 23:00:23 Re: Full-Text Search question
Previous Message Susan Cassidy 2014-05-13 21:59:28 Re: logging hook