Type: bool
Default: off
Context: superuser-backend
Restart: false

Causes session terminations to be logged. The log output provides information similar to log_connections, plus the duration of the session. Only superusers and users with the appropriate SET privilege can change this parameter at session start, and it cannot be changed at all within a session. The default is off.


Useful for performance analysis.