Re: serverlog function

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: serverlog function
Date: 2004-06-07 13:39:42
Message-ID: 200406071339.i57DdgP24624@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Pflug wrote:
> Tom Lane wrote:
>
> >Andreas Pflug <pgadmin(at)pse-consulting(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2004-06-07 13:44:53 Re: serverlog function (log_destination file)
Previous Message Tom Lane 2004-06-07 13:30:03 Re: serverlog function (log_destination file)