Mike Rowan <michael.rowan3@gmail.com> writes:
> A very very basic question...
> Is there, in PostgreSQL 9.1 preferably, a log of logon attempts and the
> reason for failure, if any.
Look into the postmaster log file. If you're not sure where that is,
checking the settings described in
https://www.postgresql.org/docs/9.1/static/runtime-config-logging.html
should help.
You might care to enable log_connections to help debug your problem,
but I believe connection rejections would be logged in any case.
regards, tom lane