@@ -600,11 +600,11 @@ optionalt<cext> cegis_verifiert::verify()
600600 // Annotate assigns
601601 annotate_assigns (assigns_map, goto_model);
602602
603- // Control verbosity.
604- // We allow non-error output message only when verbosity is set to at least 9 .
603+ // Control verbosity. We allow non-error output message only when verbosity
604+ // is set to larger than messaget::M_DEBUG .
605605 const unsigned original_verbosity = log.get_message_handler ().get_verbosity ();
606- if (original_verbosity < 9 )
607- log.get_message_handler ().set_verbosity (1 );
606+ if (original_verbosity < messaget::M_DEBUG )
607+ log.get_message_handler ().set_verbosity (messaget::M_ERROR );
608608
609609 // Apply loop contracts we annotated.
610610 code_contractst cont (goto_model, log);
@@ -630,7 +630,7 @@ optionalt<cext> cegis_verifiert::verify()
630630 // Run the checker to get the result.
631631 const resultt result = (*checker)();
632632
633- if (original_verbosity >= 9 )
633+ if (original_verbosity >= messaget::M_DEBUG )
634634 checker->report ();
635635
636636 // Restore the verbosity.
@@ -698,6 +698,8 @@ optionalt<cext> cegis_verifiert::verify()
698698 // although there can be multiple ones.
699699
700700 log.debug () << " Start to compute cause loop ids." << messaget::eom;
701+ log.debug () << " Violation description: " << target_violation_info.description
702+ << messaget::eom;
701703
702704 const auto &trace = checker->get_traces ()[target_violation];
703705 // Doing assigns-synthesis or invariant-synthesis
0 commit comments