log_connections (boolean) Causes each attempted connection to the server to be logged, as well as successful completion of client authentication. Only superusers can change this parameter at session start, and it cannot be changed at all within a session. The default is off.
log_disconnections (boolean)
That will give you a better idea of what is going on connection wise.