From b3f315ad2db5455156781f1cfc22ecfb46bc389e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 5 Aug 2022 14:40:24 +0200 Subject: core,log: new 'MSG' log level between 'INFO' and 'WARN' We're bumping the current "INFO" level messages to the new "MSG" level, also making the new level the default. The old "INFO" level will be used to setup an intermediate level of logging which is not as verbose as "DEBUG" but still provides some capabilities to analyze the behavior of a modem. --- src/mm-device.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mm-device.c') diff --git a/src/mm-device.c b/src/mm-device.c index c2946bd9..83b1ed16 100644 --- a/src/mm-device.c +++ b/src/mm-device.c @@ -490,9 +490,9 @@ mm_device_create_modem (MMDevice *self, return FALSE; } - mm_obj_info (self, "creating modem with plugin '%s' and '%u' ports", - mm_plugin_get_name (self->priv->plugin), - g_list_length (self->priv->port_probes)); + mm_obj_msg (self, "creating modem with plugin '%s' and '%u' ports", + mm_plugin_get_name (self->priv->plugin), + g_list_length (self->priv->port_probes)); } else { if (!self->priv->virtual_ports) { g_set_error (error, @@ -502,9 +502,9 @@ mm_device_create_modem (MMDevice *self, return FALSE; } - mm_obj_info (self, "creating virtual modem with plugin '%s' and '%u' ports", - mm_plugin_get_name (self->priv->plugin), - g_strv_length (self->priv->virtual_ports)); + mm_obj_msg (self, "creating virtual modem with plugin '%s' and '%u' ports", + mm_plugin_get_name (self->priv->plugin), + g_strv_length (self->priv->virtual_ports)); } self->priv->modem = mm_plugin_create_modem (self->priv->plugin, self, error); -- cgit v1.2.3-70-g09d2