aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.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-iface-modem-3gpp.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-iface-modem-3gpp.c')
-rw-r--r--src/mm-iface-modem-3gpp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c
index c7904f67..cb68bdf4 100644
--- a/src/mm-iface-modem-3gpp.c
+++ b/src/mm-iface-modem-3gpp.c
@@ -1986,8 +1986,8 @@ update_registration_reload_current_registration_info_ready (MMIfaceModem3gpp *se
new_state = GPOINTER_TO_UINT (user_data);
- mm_obj_info (self, "3GPP registration state changed (registering -> %s)",
- mm_modem_3gpp_registration_state_get_string (new_state));
+ mm_obj_msg (self, "3GPP registration state changed (registering -> %s)",
+ mm_modem_3gpp_registration_state_get_string (new_state));
mm_obj_dbg (self, "consolidated registration state: cs '%s', ps '%s', eps '%s', 5gs '%s' --> '%s'",
mm_modem_3gpp_registration_state_get_string (priv->state_cs),
mm_modem_3gpp_registration_state_get_string (priv->state_ps),
@@ -2075,8 +2075,8 @@ update_registration_state (MMIfaceModem3gpp *self,
return;
}
- mm_obj_info (self, "3GPP registration state changed (%s -> registering)",
- mm_modem_3gpp_registration_state_get_string (old_state));
+ mm_obj_msg (self, "3GPP registration state changed (%s -> registering)",
+ mm_modem_3gpp_registration_state_get_string (old_state));
/* Reload current registration info. ONLY update the state to REGISTERED
* after having loaded operator code/name/subscription state */
@@ -2088,9 +2088,9 @@ update_registration_state (MMIfaceModem3gpp *self,
return;
}
- mm_obj_info (self, "3GPP registration state changed (%s -> %s)",
- mm_modem_3gpp_registration_state_get_string (old_state),
- mm_modem_3gpp_registration_state_get_string (new_state));
+ mm_obj_msg (self, "3GPP registration state changed (%s -> %s)",
+ mm_modem_3gpp_registration_state_get_string (old_state),
+ mm_modem_3gpp_registration_state_get_string (new_state));
mm_obj_dbg (self, "consolidated registration state: cs '%s', ps '%s', eps '%s', 5gs '%s' --> '%s'",
mm_modem_3gpp_registration_state_get_string (priv->state_cs),
mm_modem_3gpp_registration_state_get_string (priv->state_ps),