Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zhengda committed Dec 17, 2024
1 parent eb91fd5 commit af361ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres/datadog_checks/postgres/statement_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit af361ef

Please sign in to comment.