diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-08-05 14:40:24 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2022-11-04 13:12:56 +0000 |
commit | b3f315ad2db5455156781f1cfc22ecfb46bc389e (patch) | |
tree | 45882a3b24f6b65108337f76256f4eed51b3c660 /src/mm-port-mbim.c | |
parent | 823f3e7995a27d89524f07aee46c8efad246fbc7 (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-port-mbim.c')
-rw-r--r-- | src/mm-port-mbim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c index 5748c15c..7dcdda59 100644 --- a/src/mm-port-mbim.c +++ b/src/mm-port-mbim.c @@ -451,10 +451,10 @@ qmi_device_open_ready (QmiDevice *dev, g_error_free (error); g_clear_object (&self->priv->qmi_device); /* Ignore error and complete */ - mm_obj_info (self, "MBIM device is not QMI capable"); + mm_obj_msg (self, "MBIM device is not QMI capable"); self->priv->qmi_supported = FALSE; } else { - mm_obj_info (self, "MBIM device is QMI capable"); + mm_obj_msg (self, "MBIM device is QMI capable"); } self->priv->in_progress = FALSE; @@ -477,7 +477,7 @@ qmi_device_new_ready (GObject *unused, mm_obj_dbg (self, "error: couldn't create QmiDevice: %s", error->message); g_error_free (error); /* Ignore error and complete */ - mm_obj_info (self, "MBIM device is not QMI capable"); + mm_obj_msg (self, "MBIM device is not QMI capable"); self->priv->qmi_supported = FALSE; self->priv->in_progress = FALSE; g_task_return_boolean (task, TRUE); @@ -546,7 +546,7 @@ mbim_query_device_services_ready (MbimDevice *device, file = G_FILE (g_task_get_task_data (task)); if (!file || !self->priv->qmi_supported) { - mm_obj_info (self, "MBIM device is not QMI capable"); + mm_obj_msg (self, "MBIM device is not QMI capable"); self->priv->in_progress = FALSE; g_task_return_boolean (task, TRUE); g_object_unref (task); |