summaryrefslogtreecommitdiffstats
path: root/net/ocsp
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 22:21:47 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 22:21:47 +0000
commit92531b60bd6309768fad2998411cf9943fcd6d46 (patch)
tree7044014d446b4459d2027a4bd7ef22d8d5dd04af /net/ocsp
parent5d09bf4285392519663a1bc1bf9583890ffd69a6 (diff)
downloadchromium_src-92531b60bd6309768fad2998411cf9943fcd6d46.zip
chromium_src-92531b60bd6309768fad2998411cf9943fcd6d46.tar.gz
chromium_src-92531b60bd6309768fad2998411cf9943fcd6d46.tar.bz2
nss_oscp: convert LOG(INFO) to VLOG(1)
Reduces console spam. Review URL: http://codereview.chromium.org/3544011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ocsp')
-rw-r--r--net/ocsp/nss_ocsp.cc38
1 files changed, 19 insertions, 19 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
index 2368df0..dc1851f 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -230,7 +230,7 @@ class OCSPRequestSession
base::TimeDelta elapsed_time = base::TimeTicks::Now() - last_time;
timeout -= elapsed_time;
if (timeout < base::TimeDelta()) {
- LOG(INFO) << "OCSP Timed out";
+ VLOG(1) << "OCSP Timed out";
if (!finished_)
CancelLocked();
break;
@@ -454,7 +454,7 @@ class OCSPServerSession {
host_.c_str(),
port_,
path_and_query_string));
- LOG(INFO) << "URL [" << url_string << "]";
+ VLOG(1) << "URL [" << url_string << "]";
GURL url(url_string);
return new OCSPRequestSession(
url, http_request_method,
@@ -474,7 +474,7 @@ class OCSPServerSession {
// Our Http Client functions operate in blocking mode.
SECStatus OCSPCreateSession(const char* host, PRUint16 portnum,
SEC_HTTP_SERVER_SESSION* pSession) {
- LOG(INFO) << "OCSP create session: host=" << host << " port=" << portnum;
+ VLOG(1) << "OCSP create session: host=" << host << " port=" << portnum;
DCHECK(!MessageLoop::current());
if (OCSPInitSingleton::url_request_context() == NULL) {
LOG(ERROR) << "No URLRequestContext for OCSP handler.";
@@ -490,7 +490,7 @@ SECStatus OCSPCreateSession(const char* host, PRUint16 portnum,
SECStatus OCSPKeepAliveSession(SEC_HTTP_SERVER_SESSION session,
PRPollDesc **pPollDesc) {
- LOG(INFO) << "OCSP keep alive";
+ VLOG(1) << "OCSP keep alive";
DCHECK(!MessageLoop::current());
if (pPollDesc)
*pPollDesc = NULL;
@@ -498,7 +498,7 @@ SECStatus OCSPKeepAliveSession(SEC_HTTP_SERVER_SESSION session,
}
SECStatus OCSPFreeSession(SEC_HTTP_SERVER_SESSION session) {
- LOG(INFO) << "OCSP free session";
+ VLOG(1) << "OCSP free session";
DCHECK(!MessageLoop::current());
delete reinterpret_cast<OCSPServerSession*>(session);
return SECSuccess;
@@ -510,10 +510,10 @@ SECStatus OCSPCreate(SEC_HTTP_SERVER_SESSION session,
const char* http_request_method,
const PRIntervalTime timeout,
SEC_HTTP_REQUEST_SESSION* pRequest) {
- LOG(INFO) << "OCSP create protocol=" << http_protocol_variant
- << " path_and_query=" << path_and_query_string
- << " http_request_method=" << http_request_method
- << " timeout=" << timeout;
+ VLOG(1) << "OCSP create protocol=" << http_protocol_variant
+ << " path_and_query=" << path_and_query_string
+ << " http_request_method=" << http_request_method
+ << " timeout=" << timeout;
DCHECK(!MessageLoop::current());
OCSPServerSession* ocsp_session =
reinterpret_cast<OCSPServerSession*>(session);
@@ -535,7 +535,7 @@ SECStatus OCSPSetPostData(SEC_HTTP_REQUEST_SESSION request,
const char* http_data,
const PRUint32 http_data_len,
const char* http_content_type) {
- LOG(INFO) << "OCSP set post data len=" << http_data_len;
+ VLOG(1) << "OCSP set post data len=" << http_data_len;
DCHECK(!MessageLoop::current());
OCSPRequestSession* req = reinterpret_cast<OCSPRequestSession*>(request);
@@ -546,8 +546,8 @@ SECStatus OCSPSetPostData(SEC_HTTP_REQUEST_SESSION request,
SECStatus OCSPAddHeader(SEC_HTTP_REQUEST_SESSION request,
const char* http_header_name,
const char* http_header_value) {
- LOG(INFO) << "OCSP add header name=" << http_header_name
- << " value=" << http_header_value;
+ VLOG(1) << "OCSP add header name=" << http_header_name
+ << " value=" << http_header_value;
DCHECK(!MessageLoop::current());
OCSPRequestSession* req = reinterpret_cast<OCSPRequestSession*>(request);
@@ -576,11 +576,11 @@ SECStatus OCSPSetResponse(OCSPRequestSession* req,
return SECFailure;
}
}
- LOG(INFO) << "OCSP response "
- << " response_code=" << req->http_response_code()
- << " content_type=" << req->http_response_content_type()
- << " header=" << req->http_response_headers()
- << " data_len=" << data.size();
+ VLOG(1) << "OCSP response "
+ << " response_code=" << req->http_response_code()
+ << " content_type=" << req->http_response_content_type()
+ << " header=" << req->http_response_headers()
+ << " data_len=" << data.size();
if (http_response_code)
*http_response_code = req->http_response_code();
if (http_response_content_type)
@@ -607,7 +607,7 @@ SECStatus OCSPTrySendAndReceive(SEC_HTTP_REQUEST_SESSION request,
*http_response_data_len = 0;
}
- LOG(INFO) << "OCSP try send and receive";
+ VLOG(1) << "OCSP try send and receive";
DCHECK(!MessageLoop::current());
OCSPRequestSession* req = reinterpret_cast<OCSPRequestSession*>(request);
// We support blocking mode only.
@@ -685,7 +685,7 @@ SECStatus OCSPTrySendAndReceive(SEC_HTTP_REQUEST_SESSION request,
}
SECStatus OCSPFree(SEC_HTTP_REQUEST_SESSION request) {
- LOG(INFO) << "OCSP free";
+ VLOG(1) << "OCSP free";
DCHECK(!MessageLoop::current());
OCSPRequestSession* req = reinterpret_cast<OCSPRequestSession*>(request);
req->Cancel();