Re: serverlog function

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: serverlog function
Дата
Msg-id 200406071339.i57DdgP24624@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: serverlog function  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: serverlog function  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
Andreas Pflug wrote:
> Tom Lane wrote:
> 
> >Andreas Pflug <pgadmin@pse-consulting.de> 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?  If so, how?
> >And why wouldn't you just go and look at the log file, instead?
> >  
> >
> 
> I'd like to see the serverlog even if I can't "go and look at the log 
> file", because I don't have file access to the server.

Understand.  Unfortunately, we don't allow such functionality. The only
solution I can think of is to use syslog and send the logs to a machine
where you do have access.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: serverlog function (log_destination file)
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: serverlog function (log_destination file)