summaryrefslogtreecommitdiffstats
path: root/google_apis
diff options
context:
space:
mode:
authoryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-25 22:32:05 +0000
committeryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-25 22:32:05 +0000
commit9430533e5fda7d6a40d37f848eab416433fbf22a (patch)
treedac82dc41d05b5039b2c90ef8bdc5864364c9360 /google_apis
parentfd945afc896f3e8799c12c2a5a421e6881463c90 (diff)
downloadchromium_src-9430533e5fda7d6a40d37f848eab416433fbf22a.zip
chromium_src-9430533e5fda7d6a40d37f848eab416433fbf22a.tar.gz
chromium_src-9430533e5fda7d6a40d37f848eab416433fbf22a.tar.bz2
Change LOG(INFO) to VLOG(1) in google_api_keys.
These info messages generate a lot of log spam in unit tests. BUG=322805 Review URL: https://codereview.chromium.org/83273009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r--google_apis/google_api_keys.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/google_apis/google_api_keys.cc b/google_apis/google_api_keys.cc
index 0baf00d..94f6812 100644
--- a/google_apis/google_api_keys.cc
+++ b/google_apis/google_api_keys.cc
@@ -204,14 +204,14 @@ class APIKeyCache {
std::string temp;
if (environment->GetVar(environment_variable_name, &temp)) {
key_value = temp;
- LOG(INFO) << "Overriding API key " << environment_variable_name
- << " with value " << key_value << " from environment variable.";
+ VLOG(1) << "Overriding API key " << environment_variable_name
+ << " with value " << key_value << " from environment variable.";
}
if (command_line_switch && command_line->HasSwitch(command_line_switch)) {
key_value = command_line->GetSwitchValueASCII(command_line_switch);
- LOG(INFO) << "Overriding API key " << environment_variable_name
- << " with value " << key_value << " from command-line switch.";
+ VLOG(1) << "Overriding API key " << environment_variable_name
+ << " with value " << key_value << " from command-line switch.";
}
if (key_value == DUMMY_API_TOKEN) {
@@ -222,8 +222,8 @@ class APIKeyCache {
CHECK(false);
#endif
if (default_if_unset.size() > 0) {
- LOG(INFO) << "Using default value \"" << default_if_unset
- << "\" for API key " << environment_variable_name;
+ VLOG(1) << "Using default value \"" << default_if_unset
+ << "\" for API key " << environment_variable_name;
key_value = default_if_unset;
}
}