pgbackrest.git / summary / log / commit / refs
commit e46374dc7dc90275ff2836f152fb2b976dbe0e2a
Author: David Steele <david@pgbackrest.org>
Date: Tue Jan 28 20:30:23 2025 +0000
Lower log level of backupDbPing()/dbPing() to trace.
These functions get called very frequently even though they generally result in a noop at the protocol level.
Lower the log level to reduce noise in the log at debug level.
src/command/backup/backup.c | 2 +-
src/db/db.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/command/backup/backup.c b/src/command/backup/backup.c
index 2f288974b..f5e940e5a 100644
--- a/src/command/backup/backup.c
+++ b/src/command/backup/backup.c
@@ -1774,7 +1774,7 @@ Check that the clusters are alive and correctly configured during the backup
static void
backupDbPing(const BackupData *const backupData, const bool force)
{
- FUNCTION_LOG_BEGIN(logLevelDebug);
+ FUNCTION_LOG_BEGIN(logLevelTrace);
FUNCTION_LOG_PARAM(BACKUP_DATA, backupData);
FUNCTION_LOG_PARAM(BOOL, force);
FUNCTION_LOG_END();
diff --git a/src/db/db.c b/src/db/db.c
index b98a3853f..f9c313971 100644
--- a/src/db/db.c
+++ b/src/db/db.c
@@ -740,7 +740,7 @@ dbReplayWait(Db *const this, const String *const targetLsn, const uint32_t targe
FN_EXTERN void
dbPing(Db *const this, const bool force)
{
- FUNCTION_LOG_BEGIN(logLevelDebug);
+ FUNCTION_LOG_BEGIN(logLevelTrace);
FUNCTION_LOG_PARAM(DB, this);
FUNCTION_LOG_PARAM(BOOL, force);
FUNCTION_LOG_END();
[parent: e625ed8be222]