aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsom <somashekhar.puttagangaiah@intel.com>2022-04-01 20:27:47 +0530
committerAleksander Morgado <aleksander@aleksander.es>2022-04-20 15:20:34 +0200
commit1e08f9ca2c07ed2e080c76f66f50250e62e3bc31 (patch)
treee9125356b760785c161d9b92bc52be2d64478bcf /src/main.c
parent4207ee61b75e754785d8e94046642a61303c6e7d (diff)
mm-log: hiding personal info while logging
During mm logging, some of the information like simIccId, Telephone numbers need to be hidden from displaying in the logs to protect some of the user information. Implemented for MBIM requiring libmbim 1.27.6, which is the development version that includes the needed API.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index a9221cdc..8516d7bc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -165,6 +165,7 @@ main (int argc, char *argv[])
mm_context_get_log_journal (),
mm_context_get_log_timestamps (),
mm_context_get_log_relative_timestamps (),
+ mm_context_get_log_personal_info (),
&error)) {
g_printerr ("error: failed to set up logging: %s\n", error->message);
g_error_free (error);