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

From Andreas Pflug
Subject Re: serverlog function (log_destination file)
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: serverlog function  (Andreas Pflug <[email protected]>)
Responses Re: serverlog function (log_destination file)
List pgsql-hackers
Andreas Pflug wrote:

> Tom Lane wrote:
>
>> Andreas Pflug <[email protected]> writes:
>>  
>>
>>> For adminstrator's convenience, I'd like to see a function that 
>>> returns the serverlog.
>>>   
>>
>>
>> What do you mean by "returns the serverlog"?  Are you going to magically
>> recover data that has gone to stderr or the syslogd daemon?  
>

Hm, what I missed is that pg_ctl's -l parameter converts to a simple 
stderr redirection, and it's hardly possible to find out where it's going.
This could be solved by a file log_destination option or a 
freopen(...,stderr) from a guc variable.

Regards,
Andreas



pgsql-hackers by date:

Previous
From: Shridhar Daithankar
Date:
Subject: Failures with windows port
Next
From: Jan Wieck
Date:
Subject: Re: Slony-I goes BETA (possible bug)