Skip to content

Commit 83db6b5

Browse files
Merge pull request #263305 from varun-dhawan/varund-jan
[PostgreSQL] doc updates
2 parents 2fda7b3 + b93fbee commit 83db6b5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

articles/postgresql/flexible-server/how-to-server-logs-cli.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ az account set --subscription <subscription id>
3333

3434
## List server logs using Azure CLI
3535

36-
Once you're configured the prerequisites and connected to your required subscription.
37-
You can list the server logs from your Azure Database for PostgreSQL flexible server instance by using the following command.
36+
Once you're configured the prerequisites and connected to your required subscription. You can list the server logs from your Azure Database for PostgreSQL flexible server instance by using the following command.
3837

38+
> [!Note]
39+
> You can configure your server logs in the same way as above using the [Server Parameters](./howto-configure-server-parameters-using-portal.md), setting the appropriate values for these parameters: _logfiles.download_enable_ to ON to enable this feature, and _logfiles.retention_days_ to define retention in days. Initially, server logs occupy data disk space for about an hour before moving to backup storage for the set retention period.
3940
4041
```azurecli
4142
az postgres flexible-server server-logs list --resource-group <myresourcegroup> --server-name <serverlogdemo> --out <table>

articles/postgresql/flexible-server/how-to-server-logs-portal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.subservice: flexible-server
66
author: varun-dhawan
77
ms.author: varundhawan
88
ms.topic: conceptual
9-
ms.date: 1/10/2024
9+
ms.date: 1/16/2024
1010
---
1111

1212
# Enable, list and download server logs for Azure Database for PostgreSQL - Flexible Server
@@ -44,7 +44,7 @@ To enable the server logs feature, perform the following steps.
4444
4. To configure retention period (in days), choose the slider. Minimum retention 1 days and Maximum retention is 7 days.
4545

4646
> [!Note]
47-
> You can configure your server logs in the same way as above using the [Server Parameters](./howto-configure-server-parameters-using-portal.md), setting the appropriate values for these parameters: _logfiles.download_enable_ to ON to enable this feature, and _logfiles.retention_days_ to define retention in days.
47+
> You can configure your server logs in the same way as above using the [Server Parameters](./howto-configure-server-parameters-using-portal.md), setting the appropriate values for these parameters: _logfiles.download_enable_ to ON to enable this feature, and _logfiles.retention_days_ to define retention in days. Initially, server logs occupy data disk space for about an hour before moving to backup storage for the set retention period.
4848
4949
## Download Server logs
5050

@@ -70,7 +70,7 @@ To download server logs, perform the following steps.
7070

7171
:::image type="content" source="./media/how-to-server-logs-portal/5-how-to-server-log.png" alt-text="Screenshot showing server Logs - Disable.":::
7272

73-
3. Select Save.
73+
3. Select Save
7474

7575
## Next steps
7676
- To enable and disable Server logs from CLI, you can refer to the [article.](./how-to-server-logs-cli.md)

0 commit comments

Comments
 (0)