Ed Loehr <[EMAIL PROTECTED]> writes:
> Can anyone tell me how to log the db user name and db name to the server
> log? Is this possible at present?
Offhand I don't think that happens at the moment, but it does seem like
it'd be a good idea to have a backend do an elog(DEBUG) at startup that
mentions its database name and user name. Assuming you have logging of
timestamps/PIDs turned on, that would be enough to correlate later log
messages with a user name.
Comments anyone?
regards, tom lane
- [GENERAL] How To Log User Name + Database? Ed Loehr
- Re: [GENERAL] How To Log User Name + Database? Tom Lane
- Re: [GENERAL] How To Log User Name + Database? Larry Rosenman
