From: Simon Marchi Date: Mon, 22 Jul 2019 18:35:14 +0000 (-0400) Subject: src.ctf.lttng-live: LOGI instead of LOGW when getting queried for an unknown object X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=32a09ecd3dfc34e9b4778905fb878f7e30fa6994;p=babeltrace.git src.ctf.lttng-live: LOGI instead of LOGW when getting queried for an unknown object Receiving a query about an unknown object happens in the normal course of operations, and is not warning-worthy. In particular, a following patch will query all source component classes using the `support-info` object, to see if the source component class supports a given input. Having a LOGW here would generate a lot of unimportant warnings. Change-Id: I067424cb72f78aeda6ce6791b12fa00d7d90b5c0 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/1741 Tested-by: jenkins Reviewed-by: Philippe Proulx --- diff --git a/src/plugins/ctf/lttng-live/lttng-live.c b/src/plugins/ctf/lttng-live/lttng-live.c index 9ec7f5d0..93ff89bd 100644 --- a/src/plugins/ctf/lttng-live/lttng-live.c +++ b/src/plugins/ctf/lttng-live/lttng-live.c @@ -1457,7 +1457,7 @@ bt_component_class_query_method_status lttng_live_query( status = lttng_live_query_list_sessions(params, result, log_level); } else { - BT_COMP_LOGW("Unknown query object `%s`", object); + BT_COMP_LOGI("Unknown query object `%s`", object); status = BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_INVALID_OBJECT; goto end; }