Remediation
From Azure Portalβ
- From Azure Home, select the Portal Menu.
- Go to
Azure DatabaseforPostgreSQL servers. - For each database, under
Settings, clickServer parameters. - Search for
log_disconnections. - Set
log_disconnectionstoON. - Click
Save.
From Azure CLIβ
Use the following command to update log_disconnections:
az postgres server configuration set \
--resource-group {{resource-group-name}} \
--server-name {{server-name}} \
--name log_disconnections \
--value on
From PowerShellβ
Use the following command to update log_disconnections:
Update-AzPostgreSqlConfiguration `
-ResourceGroupName {{resource-group-name}} `
-ServerName {{server-name}} `
-Name log_disconnections `
-Value on