From: Christos Tsantilas Date: Fri, 28 Jan 2011 13:52:16 +0000 (+0200) Subject: fix debug sections X-Git-Tag: take03^2~37^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=933a6aed491b5b5b0f3bb8618e8b3266783fcad9;p=thirdparty%2Fsquid.git fix debug sections --- diff --git a/src/ipc/Forwarder.cc b/src/ipc/Forwarder.cc index bfb3eb02e8..f60515a805 100644 --- a/src/ipc/Forwarder.cc +++ b/src/ipc/Forwarder.cc @@ -44,7 +44,7 @@ Ipc::Forwarder::start() debugs(54, 3, HERE); typedef NullaryMemFunT Dialer; - AsyncCall::Pointer callback = JobCallback(16, 5, Dialer, this, Forwarder::handleRemoteAck); + AsyncCall::Pointer callback = JobCallback(54, 5, Dialer, this, Forwarder::handleRemoteAck); if (++LastRequestId == 0) // don't use zero value as request->requestId ++LastRequestId; request->requestId = LastRequestId; @@ -99,7 +99,7 @@ Ipc::Forwarder::RequestTimedOut(void* param) Must(param != NULL); Forwarder* fwdr = static_cast(param); // use async call to enable job call protection that time events lack - CallJobHere(16, 5, fwdr, Forwarder, requestTimedOut); + CallJobHere(54, 5, fwdr, Forwarder, requestTimedOut); } /// called when Coordinator fails to start processing the request [in time] @@ -126,7 +126,7 @@ Ipc::Forwarder::handleTimeout() void Ipc::Forwarder::handleException(const std::exception& e) { - debugs(16, 3, HERE << e.what()); + debugs(54, 3, HERE << e.what()); mustStop("exception"); } diff --git a/src/ipc/Inquirer.cc b/src/ipc/Inquirer.cc index 309232e03d..9c6e123d89 100644 --- a/src/ipc/Inquirer.cc +++ b/src/ipc/Inquirer.cc @@ -64,7 +64,7 @@ Ipc::Inquirer::inquire() } Must(request->requestId == 0); - AsyncCall::Pointer callback = asyncCall(16, 5, "Mgr::Inquirer::handleRemoteAck", + AsyncCall::Pointer callback = asyncCall(54, 5, "Mgr::Inquirer::handleRemoteAck", HandleAckDialer(this, &Inquirer::handleRemoteAck, NULL)); if (++LastRequestId == 0) // don't use zero value as request->requestId ++LastRequestId; @@ -178,7 +178,7 @@ Ipc::Inquirer::RequestTimedOut(void* param) Must(param != NULL); Inquirer* cmi = static_cast(param); // use async call to enable job call protection that time events lack - CallJobHere(16, 5, cmi, Inquirer, requestTimedOut); + CallJobHere(54, 5, cmi, Inquirer, requestTimedOut); } /// called when the strand failed to respond (or finish responding) in time diff --git a/src/ipc/UdsOp.cc b/src/ipc/UdsOp.cc index a4da136956..88b1053ad4 100644 --- a/src/ipc/UdsOp.cc +++ b/src/ipc/UdsOp.cc @@ -146,7 +146,7 @@ int Ipc::ImportFdIntoComm(int fd, int socktype, int protocol, Ipc::FdNoteId note comm_import_opened(fd, ipAddr, COMM_NONBLOCKING, Ipc::FdNote(noteId), addr_info); ipAddr.FreeAddrInfo(addr_info); } else { - debugs(16, DBG_CRITICAL, HERE << "ERROR: FD " << fd << ' ' << xstrerror()); + debugs(54, DBG_CRITICAL, HERE << "ERROR: FD " << fd << ' ' << xstrerror()); ::close(fd); fd = -1; } diff --git a/src/snmpx/Forwarder.cc b/src/snmpx/Forwarder.cc index 8cba9b7f8e..6c30c17ae9 100644 --- a/src/snmpx/Forwarder.cc +++ b/src/snmpx/Forwarder.cc @@ -25,7 +25,7 @@ Snmp::Forwarder::Forwarder(const Pdu& aPdu, const Session& aSession, int aFd, { debugs(49, 5, HERE << "FD " << aFd); Must(fd >= 0); - closer = asyncCall(16, 5, "Snmp::Forwarder::noteCommClosed", + closer = asyncCall(49, 5, "Snmp::Forwarder::noteCommClosed", CommCbMemFunT(this, &Forwarder::noteCommClosed)); comm_add_close_handler(fd, closer); } diff --git a/src/snmpx/Inquirer.cc b/src/snmpx/Inquirer.cc index 2c9fb4b51c..73ae1d442a 100644 --- a/src/snmpx/Inquirer.cc +++ b/src/snmpx/Inquirer.cc @@ -24,7 +24,7 @@ Snmp::Inquirer::Inquirer(const Request& aRequest, const Ipc::StrandCoords& coord fd(ImportFdIntoComm(aRequest.fd, SOCK_DGRAM, IPPROTO_UDP, Ipc::fdnInSnmpSocket)) { debugs(49, 5, HERE); - closer = asyncCall(16, 5, "Snmp::Inquirer::noteCommClosed", + closer = asyncCall(49, 5, "Snmp::Inquirer::noteCommClosed", CommCbMemFunT(this, &Inquirer::noteCommClosed)); comm_add_close_handler(fd, closer); }