Re: How To Log User Name + Database?

From: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pggeneral <pgsql-general(at)postgresql(dot)org>
Subject: Re: How To Log User Name + Database?
Date: 2000-12-06 19:58:17
Message-ID: 3A2E9A59.24EDAEBA@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Eisentraut wrote:
>
> Ed Loehr writes:
>
> > Can anyone tell me how to log the db user name and db name to the server
> > log? Is this possible at present? Couldn't find anything about it in
> > the docs or deja...
>
> Now that you've found out that version 7.1, which will appear sometime
> within the next five years, can do this, I think if you crank up the debug
> level (-d) in 7.0 you should get some similar output. I'm fairly certain
> that the code was already there, I just wrapped it into a new name.

Thanks. While helpful to know, that is not quite what I was thinking of,
given it only logs the user name and db once (upon backend start-up). I
was hoping for something that didn't require the correlation with an
earlier log line in order to make sense of it. Granted this is redundant
information if you can figure it out by connecting it with the earlier
log line; I'm just suggesting what looks like a more easily usable
approach.

Regards,
Ed Loehr

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Pilley 2000-12-06 19:59:59 Install Problems with 7.0.3 RPM
Previous Message Peter Korsgaard 2000-12-06 19:35:52 Re: How To Log User Name + Database?