From af361ef95a1bc2bf3e04f6ab03bab49445f2f4f6 Mon Sep 17 00:00:00 2001 From: Zhengda Lu Date: Tue, 17 Dec 2024 18:59:35 +0000 Subject: [PATCH] fix logging --- postgres/datadog_checks/postgres/statement_samples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres/datadog_checks/postgres/statement_samples.py b/postgres/datadog_checks/postgres/statement_samples.py index 3fabbb875a1c4..0249e663beeba 100644 --- a/postgres/datadog_checks/postgres/statement_samples.py +++ b/postgres/datadog_checks/postgres/statement_samples.py @@ -936,8 +936,8 @@ def _get_truncation_state(self, track_activity_query_size, statement, query_sign if truncated: if track_activity_query_size < TRACK_ACTIVITY_QUERY_SIZE_SUGGESTED_VALUE: self._log.warning( - "Statement with query_signature=%s was truncated. Query size: %d, track_activity_query_size: %d ", - "See https://docs.datadoghq.com/database_monitoring/setup_postgres/troubleshooting%s ", + "Statement with query_signature=%s was truncated. Query size: %d, track_activity_query_size: %d " + "See https://docs.datadoghq.com/database_monitoring/setup_postgres/troubleshooting%s " "for more details on how to increase the track_activity_query_size setting.", query_signature, len(statement_bytes),