mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-10 14:37:03 +02:00
change WARNING message to LOG in verbose mode
This commit is contained in:
parent
d10e5f1871
commit
23abfcb5ce
3
data.c
3
data.c
@ -81,7 +81,8 @@ backup_data_page(pgFile *file, const XLogRecPtr *lsn,
|
||||
|
||||
if (st.st_size/BLCKSZ <= blknum)
|
||||
{
|
||||
elog(WARNING, "File: %s, file was truncated after backup start."
|
||||
if (verbose)
|
||||
elog(LOG, "File: %s, file was truncated after backup start."
|
||||
"Expected nblocks %u. Real nblocks %ld. Cannot read block %u ",
|
||||
file->path, nblocks, st.st_size/BLCKSZ, blknum);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user