Error Logs

Last updated: 2021-04-16 16:12:22


    Error logs refer to logs generated due to operation, SQL, and system errors during database running. Error logs are usually used by developers to find out the causes of errors in business systems or databases.

    You can log in to the TencentDB for PostgreSQL console, click an instance ID/name in the instance list to access the instance management page, and select the Performance Optimization tab to view error logs as shown below.

    Error Log Default Configurations

    • Error log feature: enabled by default.
    • Error log level: log_min_error_statement=ERROR.
    • Analyzed data output delay: 1–5 minutes.
    • Log retention period: 7 days (up to the last 10,000 records).