You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user