From 51cce869b395bdb7c1d8364785ffe0b65617b79c Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Thu, 30 Nov 2017 19:50:34 -0800 Subject: [PATCH] [logging] no longer log a summary when we add it to the specs table Summary: Summaries can be big, and they can always be printed via `infer report` if we want to see them. There's no reason to log them eagerly, even in debug mode. Reviewed By: jeremydubreil Differential Revision: D6451815 fbshipit-source-id: 643cd47 --- infer/src/backend/specs.ml | 2 -- 1 file changed, 2 deletions(-) diff --git a/infer/src/backend/specs.ml b/infer/src/backend/specs.ml index 1249cc1d9..a8a67a0f6 100644 --- a/infer/src/backend/specs.ml +++ b/infer/src/backend/specs.ml @@ -562,8 +562,6 @@ let summary_compact sh summary = {summary with payload= payload_compact sh summa (** Add the summary to the table for the given function *) let add_summary (proc_name: Typ.Procname.t) (summary: summary) : unit = - L.(debug Analysis Medium) - "Adding summary for %a@\n@[ %a@]@." Typ.Procname.pp proc_name pp_summary_text summary ; Typ.Procname.Hash.replace spec_tbl proc_name summary