Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da806bbb authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Changing log level for debugging

In some cases, app_hold_link appears to be incorrect.

To aid debugging, the log level for adding entries is
now aligned with the log level for removing entries,
allowing us to track when entries are added and removed.

Bug: 336890664
Test: m -j;
Flag: EXEMPT, log only change
Change-Id: Ib6fdf9e5980b13e26e009cfe3322b89feae74417
parent 2d10c8e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -329,9 +329,9 @@ static bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb,
  if (is_add) {
    auto ret = holders.insert(gatt_if);
    if (ret.second) {
      log::debug("added gatt_if={}", gatt_if);
      log::info("added gatt_if={}", gatt_if);
    } else {
      log::debug("attempt to add already existing gatt_if={}", gatt_if);
      log::warn("attempt to add already existing gatt_if={}", gatt_if);
    }
    return true;
  }