Closed harada-toshi closed 7 years ago
In server log you mentioned, the audit log and server log are corresponding each other like follows.
The connection and disconnection messages are output by postmaster when connection received before connecting particular database, so we cannot find out what database the client is going to connect to at that point. That's why the log message "LOG: connection received: host=[local]"" is emitted regardless of connecting database.
You can see that the log message "connection authorized" and "disconnection" are output when the client connects to specified database postgres
.
I understand about the current operation. The issue is closed.
Overview
pgaudit config file
Execute psql
Audit Log