git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1350 fd59a12c-fef9-0310-b244-a6a79926bd2f
@@ -175,6 +175,9 @@ static int read_config_file_into_objdb(
fclose(fp);
+ sprintf (error_reason, "Successfully read main configuration file '%s'.\n", filename);
+ *error_string = error_reason;
+
return res;
}
@@ -723,6 +723,7 @@ static int create_cluster_model (void)
log_printf (LOG_LEVEL_ERROR, error_string);
openais_exit_error (AIS_DONE_AMFCONFIGREAD);
+ log_printf (LOG_LEVEL_NOTICE, error_string);
this_amf_node = get_this_node_obj ();
@@ -879,6 +879,10 @@ struct amf_cluster *amf_config_read (char **error_string)
fclose (fp);
+ sprintf (error_reason, "Successfully read AMF configuration file '%s'.\n", filename);
+ *error_string = buf;
return cluster;
parse_error:
@@ -488,6 +488,7 @@ int main (int argc, char **argv)
openais_exit_error (AIS_DONE_MAINCONFIGREAD);
openais_service_default_objdb_set (objdb);