EST [30673] LOG: AUDIT: SESSION,1,1,WRITE,INSERT,,,insert into test3 values (3);,<not logged> EST [30656] LOG: received fast shutdown request
pgaudit.log_directory Name of the directory where the audit file will be created. Scope: System Default: 'log' Empty or NULL will disable the extension and the audit logging will be done to PostgreSQL server logger. pgaudit.log_filename Name of the file where the audit will be written. Writing to an existing file will append the new entries. This variable can contain time patterns up to minute to allow automatic rotation. Scope: System Default: 'audit-%Y%m%d_%H%M.log' Empty or NULL will disable the extension and the audit logging will be done to PostgreSQL server logger. pgaudit.log_rotation_age Number of minutes after which the audit file will be rotated. Scope: System Default: 1440 minutes (1 day) 0 will disable the rotation pgaudit.log_connections Intercepts server log messages emited when log_connections is on Scope: System Default: off Requires: log_connections = on pgaudit.log_disconnections Intercepts server log messages emited when log_disconnections is on Scope: System Default: off Requires: log_disconnections = on