Server logs for Azure Database for PostgreSQL – Flexible Server are now generally available.
You can use server logs for Azure Database for PostgreSQL – Flexible Server to enable logging for your database instance and save the results to a file. If you enable server logs and select the retention days, you can download the logs from your server. Use the information in these logs to get detailed insights about the activities executed on your server, and then identify and troubleshoot potential issues.