Skip to content

Commit cd9a119

Browse files
committed
Hide some log message for non-verbose mode.
1 parent 65bb8b5 commit cd9a119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ backup_data_file(const char *from_root, const char *to_root,
284284
for(i=0; i<BLCKSZ && page.data[i] == 0; i++);
285285
if (i == BLCKSZ)
286286
{
287-
elog(WARNING, "File: %s blknum %u, empty page", file->path, blknum);
287+
elog(LOG, "File: %s blknum %u, empty page", file->path, blknum);
288288
goto end_checks2;
289289
}
290290

@@ -318,7 +318,7 @@ backup_data_file(const char *from_root, const char *to_root,
318318
pg_checksum_page(page.data, file->segno * RELSEG_SIZE + blknum) != ((PageHeader) page.data)->pd_checksum)
319319
{
320320
if (try_checksum)
321-
elog(WARNING, "File: %s blknum %u have wrong checksum, try again", file->path, blknum);
321+
elog(LOG, "File: %s blknum %u have wrong checksum, try again", file->path, blknum);
322322
else
323323
elog(ERROR, "File: %s blknum %u have wrong checksum.", file->path, blknum);
324324
}

0 commit comments

Comments
 (0)