@@ -426,7 +426,7 @@ remote_backup_files(void *arg)
426426 /* receive the data from stream and write to backup file */
427427 remote_copy_file (file_backup_conn , file );
428428
429- elog (LOG , "File \"%s\". Copied %lu bytes" ,
429+ elog (VERBOSE , "File \"%s\". Copied %lu bytes" ,
430430 file -> path , (unsigned long ) file -> write_size );
431431 PQfinish (file_backup_conn );
432432 }
@@ -823,9 +823,6 @@ do_backup(time_t start_time)
823823 if (!is_remote_backup )
824824 check_system_identifiers ();
825825
826- elog (LOG , "Backup start. backup-mode = %s, stream = %s, remote = %s" ,
827- pgBackupGetBackupMode (& current ), current .stream ? "true" : "false" ,
828- is_remote_backup ? "true" : "false" );
829826
830827 /* Start backup. Update backup status. */
831828 current .status = BACKUP_STATUS_RUNNING ;
@@ -1888,7 +1885,7 @@ backup_cleanup(bool fatal, void *userdata)
18881885 */
18891886 if (current .status == BACKUP_STATUS_RUNNING && current .end_time == 0 )
18901887 {
1891- elog (LOG , "Backup is running, update its status to ERROR" );
1888+ elog (INFO , "Backup %s is running, setting its status to ERROR" , base36enc ( current . start_time ) );
18921889 current .end_time = time (NULL );
18931890 current .status = BACKUP_STATUS_ERROR ;
18941891 pgBackupWriteBackupControlFile (& current );
@@ -2000,7 +1997,7 @@ backup_files(void *arg)
20001997 continue ;
20011998 }
20021999
2003- elog (LOG , "File \"%s\". Copied %lu bytes" ,
2000+ elog (VERBOSE , "File \"%s\". Copied %lu bytes" ,
20042001 file -> path , (unsigned long ) file -> write_size );
20052002 }
20062003 else
0 commit comments