Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1f31693

Browse files
committed
minor changes to log level and log messages
1 parent 9d9a885 commit 1f31693

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/backup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ do_backup_instance(void)
656656
/* Run threads */
657657
for (i = 0; i < num_threads; i++)
658658
{
659-
elog(LOG, "Start thread num:%i", i);
659+
elog(VERBOSE, "Start thread num: %i", i);
660660

661661
if (!is_remote_backup)
662662
pthread_create(&backup_threads[i], NULL,

src/data.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ backup_data_page(backup_files_args *arguments,
285285
* throw an error.
286286
*/
287287
if(!page_is_valid && !is_ptrack_support)
288-
elog(ERROR, "Data file checksum mismatch, canceling backup");
288+
elog(ERROR, "Data file checksum mismatch. Canceling backup");
289289
}
290290

291291
if (backup_mode == BACKUP_MODE_DIFF_PTRACK || (!page_is_valid && is_ptrack_support))
@@ -304,8 +304,7 @@ backup_data_page(backup_files_args *arguments,
304304
}
305305
else if (page_size != BLCKSZ)
306306
{
307-
elog(ERROR, "File: %s, block %u, expected block size %lu,"
308-
"but read %d, try again",
307+
elog(ERROR, "File: %s, block %u, expected block size %lu, but read %d",
309308
file->path, absolute_blknum, page_size, BLCKSZ);
310309
}
311310
else

0 commit comments

Comments
 (0)