Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: chrome/common/multi_process_lock_linux.cc

Issue 8368018: Convert chrome/common non-debug logs to debug logs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/metrics_log_manager.cc ('k') | chrome/common/multi_process_lock_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/multi_process_lock_linux.cc
===================================================================
--- chrome/common/multi_process_lock_linux.cc (revision 107051)
+++ chrome/common/multi_process_lock_linux.cc (working copy)
@@ -30,8 +30,9 @@
}
if (name_.length() > MULTI_PROCESS_LOCK_NAME_MAX_LEN) {
- LOG(ERROR) << "Socket name too long (" << name_.length()
- << " > " << MULTI_PROCESS_LOCK_NAME_MAX_LEN << ") - " << name_;
+ DLOG(ERROR) << "Socket name too long (" << name_.length()
+ << " > " << MULTI_PROCESS_LOCK_NAME_MAX_LEN << ") - "
+ << name_;
return false;
}
@@ -51,7 +52,7 @@
if (print_length < 0 ||
print_length > static_cast<int>(MULTI_PROCESS_LOCK_NAME_MAX_LEN)) {
- PLOG(ERROR) << "Couldn't create sun_path - " << name_;
+ DPLOG(ERROR) << "Couldn't create sun_path - " << name_;
return false;
}
@@ -67,7 +68,7 @@
int socket_fd = socket(AF_LOCAL, SOCK_STREAM, 0);
if (socket_fd < 0) {
- PLOG(ERROR) << "Couldn't create socket - " << name_;
+ DPLOG(ERROR) << "Couldn't create socket - " << name_;
return false;
}
@@ -77,11 +78,11 @@
fd_ = socket_fd;
return true;
} else {
- VLOG(1) << "Couldn't bind socket - "
- << &(address.sun_path[1])
- << " Length: " << length;
+ DVLOG(1) << "Couldn't bind socket - "
+ << &(address.sun_path[1])
+ << " Length: " << length;
if (HANDLE_EINTR(close(socket_fd)) < 0) {
- PLOG(ERROR) << "close";
+ DPLOG(ERROR) << "close";
}
return false;
}
@@ -93,7 +94,7 @@
return;
}
if (HANDLE_EINTR(close(fd_)) < 0) {
- PLOG(ERROR) << "close";
+ DPLOG(ERROR) << "close";
}
fd_ = -1;
}
« no previous file with comments | « chrome/common/metrics_log_manager.cc ('k') | chrome/common/multi_process_lock_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698