aboutsummaryrefslogtreecommitdiff
path: root/src/mm-device.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2022-08-05 14:40:24 +0200
committerAleksander Morgado <aleksandermj@chromium.org>2022-11-04 13:12:56 +0000
commitb3f315ad2db5455156781f1cfc22ecfb46bc389e (patch)
tree45882a3b24f6b65108337f76256f4eed51b3c660 /src/mm-device.c
parent823f3e7995a27d89524f07aee46c8efad246fbc7 (diff)
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.
Diffstat (limited to 'src/mm-device.c')
-rw-r--r--src/mm-device.c12
1 files changed, 6 insertions, 6 deletions
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);