Re: get current log file - Mailing list pgsql-hackers

From Tom Lane
Subject Re: get current log file
Date
Msg-id 32514.1456499071@sss.pgh.pa.us
Whole thread Raw
In response to Re: get current log file  (Euler Taveira <euler@timbira.com.br>)
List pgsql-hackers
Euler Taveira <euler@timbira.com.br> writes:
> Those are good concerns. Also, we already have emit_log_hook that could
> grab server log messages. A small extension using the hook (there are
> some out there) could be use with a log consuming tool.

Hmmm ... emit_log_hook runs in the process calling elog, no?  That would
not have any special visibility into the state of syslogger.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Euler Taveira
Date:
Subject: Re: get current log file
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Relation cache invalidation on replica