Re: serverlog function (log_destination file) - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: serverlog function (log_destination file)
Date
Msg-id 40C48127.3000706@pse-consulting.de
Whole thread Raw
In response to Re: serverlog function (log_destination file)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: serverlog function (log_destination file)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

>
>If I were trying to solve Andreas' problem, I'd pipe stderr to some
>program that stores recent log output in a file that I know the location
>of and can read from the hypothetical log-grabber function.  Actually I
>don't see that there's any need to involve Postgres itself in this issue
>at all --- seems like the only agreement needed is between the GUI and
>the postmaster launching script about where the log file is.
>  
>
What if there's no file access (e.g. only db admin, not sys admin, no 
file sharing, firewalled with only 5432 port access or similar)? I'd 
like a solution that needs just enabling in postgresql.conf and a button 
in pgadmin3 (probably phppgadmin would follow soon), on any platform.

Regards,
Andreas




pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: serverlog function (log_destination file)
Next
From: Shridhar Daithankar
Date:
Subject: Re: [pgsql-hackers-win32] Failures with windows port