Skip to content

Commit b751f9f

Browse files
Merge pull request #269505 from varun-dhawan/varund-jan
[PostgreSQL] updates server parameters for pg_upgrade_logs
2 parents db1e3bd + d7eb3a1 commit b751f9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/postgresql/flexible-server/concepts-major-version-upgrade.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ Here are some of the important considerations with in-place major version upgrad
5050

5151
Major Version Upgrade Logs (PG_Upgrade_Logs) provides direct access to detailed logs through the [Server Logs](./how-to-server-logs-portal.md). Here’s how to integrate `PG_Upgrade_Logs` into your upgrade process, ensuring a smoother and more transparent transition to new PostgreSQL versions.
5252

53+
You can configure your Major Version Upgrade Logs in the same way as [Server Logs](./how-to-server-logs-portal.md), above using the Server Parameters
54+
* `logfiles.download_enable` to ON to enable this feature.
55+
* `logfiles.retention_days` to define logfile retention in days.
56+
5357
#### Setting Up PostgreSQL Version Upgrade Logs
5458
- **Access via Azure portal or CLI**: To start utilizing the PG_Upgrade_Logs feature, you can configure and access the logs either through the Azure portal or by using the [Command Line Interface (CLI)](./how-to-server-logs-cli.md). This flexibility allows you to choose the method that best fits your workflow.
5559
- **Server Logs UI**: Once set up, the upgrade logs will be accessible through the Server Logs UI, where you can monitor the progress and details of your PostgreSQL major version upgrades in real time. This provides a centralized location for viewing logs, making it easier to track and troubleshoot the upgrade process.

0 commit comments

Comments
 (0)