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

Commit fd1aeefb authored by Jack He's avatar Jack He Committed by Myles Watson
Browse files

Config: Reduce LOG(WARNING) to VLOG(1) when config key is not found

Fixes: 120495903
Test: make
Change-Id: I724b8883ea400ed3c79fe31b75f1e2aa65b45b4d
parent 13b96dba
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -369,7 +369,7 @@ bool btif_config_get_bin(const std::string& section, const std::string& key,
  const std::string* value_str = config_get_string(*config, section, key, NULL);
  const std::string* value_str = config_get_string(*config, section, key, NULL);


  if (!value_str) {
  if (!value_str) {
    LOG(WARNING) << __func__ << ": cannot find string for section " << section
    VLOG(1) << __func__ << ": cannot find string for section " << section
            << ", key " << key;
            << ", key " << key;
    return false;
    return false;
  }
  }