]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
ras-events: demote log information about trace being enabled/disabled
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 19 Jul 2024 07:38:52 +0000 (09:38 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 19 Jul 2024 07:38:52 +0000 (09:38 +0200)
There are already enough information outside __toggle_ras_mc_event()
to identify if a feature was enabled or disabled.

So, this is mostly for debugging purposes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
ras-events.c

index 83c7a3798664a4f35ab3fc5c16fd73de06e02997..27e2d50194bf05433f09299459f753b99afed536 100644 (file)
@@ -230,7 +230,7 @@ static int __toggle_ras_mc_event(struct ras_events *ras,
                return -EIO;
        }
 
-       log(ALL, LOG_INFO, "%s:%s event %s\n",
+       log(TERM, LOG_DEBUG, "%s:%s event %s\n",
            group, event,
            enable ? "enabled" : "disabled");