From f6a4ee3f891c52eb5cfd7a739c9beafa9f06c007 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Thu, 12 Dec 2019 23:17:43 +0100 Subject: [PATCH] Library: no need to log lifecycle of the advice system on each invocation Basically the advice system is just some further helper component with a lookup table, which "just works" transparently most of the time. We'd need those diagnostic messages only when explicitly debugging for some kind of access-after death, which should not happen as long as we stick to the general policy not to allow any significant functionality to be hooked up from dtors --- src/common/advice/advice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/advice/advice.cpp b/src/common/advice/advice.cpp index 4fc12d79c..d9c32ed31 100644 --- a/src/common/advice/advice.cpp +++ b/src/common/advice/advice.cpp @@ -131,12 +131,12 @@ namespace advice { AdviceSystem() : index_() { - INFO (library, "Initialising Advice Index tables."); + TRACE (library, "Initialising Advice Index tables."); } ~AdviceSystem() { - INFO (library, "Shutting down Advice system."); + TRACE (library, "Shutting down Advice system."); }