Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 274c325

Browse files
committed
[PBCKP-129] change catchup logging levels verbosity:
INFO – common information LOG – same as INFO + info about files VERBOSE – same as LOG + info about block and SQL queries
1 parent 977240d commit 274c325

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dir.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ dir_check_file(pgFile *file, bool backup_logs)
636636
pgdata_exclude_files_non_exclusive[i]) == 0)
637637
{
638638
/* Skip */
639-
elog(VERBOSE, "Excluding file: %s", file->name);
639+
elog(LOG, "Excluding file: %s", file->name);
640640
return CHECK_FALSE;
641641
}
642642
}
@@ -645,7 +645,7 @@ dir_check_file(pgFile *file, bool backup_logs)
645645
if (strcmp(file->rel_path, pgdata_exclude_files[i]) == 0)
646646
{
647647
/* Skip */
648-
elog(VERBOSE, "Excluding file: %s", file->name);
648+
elog(LOG, "Excluding file: %s", file->name);
649649
return CHECK_FALSE;
650650
}
651651
}
@@ -665,7 +665,7 @@ dir_check_file(pgFile *file, bool backup_logs)
665665
/* exclude by dirname */
666666
if (strcmp(file->name, pgdata_exclude_dir[i]) == 0)
667667
{
668-
elog(VERBOSE, "Excluding directory content: %s", file->rel_path);
668+
elog(LOG, "Excluding directory content: %s", file->rel_path);
669669
return CHECK_EXCLUDE_FALSE;
670670
}
671671
}
@@ -675,7 +675,7 @@ dir_check_file(pgFile *file, bool backup_logs)
675675
if (strcmp(file->rel_path, PG_LOG_DIR) == 0)
676676
{
677677
/* Skip */
678-
elog(VERBOSE, "Excluding directory content: %s", file->rel_path);
678+
elog(LOG, "Excluding directory content: %s", file->rel_path);
679679
return CHECK_EXCLUDE_FALSE;
680680
}
681681
}

0 commit comments

Comments
 (0)