Просмотр исходного кода

Change few ERROR loggings to DEBUG loggings from Muni Bajpai.

(Logical change 1.153)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@538 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 лет назад
Родитель
Сommit
0affa78f7d
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      exec/ckpt.c

+ 4 - 4
exec/ckpt.c

@@ -1254,8 +1254,8 @@ static int message_handler_req_exec_ckpt_synchronize_state (void *message, struc
 										&req_exec_ckpt_sync_state->checkpointCreationAttributes,
 										req_exec_ckpt_sync_state->ckpt_refcount);
 	if (retcode != SA_AIS_OK) {
-		log_printf(LOG_LEVEL_ERROR, "CKPT: message_handler_req_exec_ckpt_synchronize_state\n");
-		log_printf(LOG_LEVEL_ERROR, "CKPT: recovery_checkpoint_open returned %d\n",retcode);		
+		log_printf(LOG_LEVEL_DEBUG, "CKPT: message_handler_req_exec_ckpt_synchronize_state\n");
+		log_printf(LOG_LEVEL_DEBUG, "CKPT: recovery_checkpoint_open returned %d\n",retcode);		
 	}
 	
 	retcode = recovery_section_create (&req_exec_ckpt_sync_state->sectionDescriptor,
@@ -1263,8 +1263,8 @@ static int message_handler_req_exec_ckpt_synchronize_state (void *message, struc
 										(char*)req_exec_ckpt_sync_state
 										+ sizeof (struct req_exec_ckpt_synchronize_state));
 	if (retcode != SA_AIS_OK) {
-		log_printf(LOG_LEVEL_ERROR, "CKPT: message_handler_req_exec_ckpt_synchronize_state\n");
-		log_printf(LOG_LEVEL_ERROR, "CKPT: recovery_section_create returned %d\n",retcode);		
+		log_printf(LOG_LEVEL_DEBUG, "CKPT: message_handler_req_exec_ckpt_synchronize_state\n");
+		log_printf(LOG_LEVEL_DEBUG, "CKPT: recovery_section_create returned %d\n",retcode);		
 	}	
 	
 	return (0);