Commits

Anonymous committed dc03636

DataProxy::requestRelease: further protect VERBOSE message (#82923)

  • Participants
  • Parent commits fabfb88

Comments (0)

Files changed (2)

+2012-03-05  Paolo Calafiura  <calaf@localhost6.localdomain6>
+
+	* Tagging  SGTools-00-17-02.
+	* src/DataProxy.cxx (DataProxy::requestRelease): further protect
+	VERBOSE message (#82923)
+
 2012-02-06  scott snyder  <snyder@bnl.gov>
 
 	* Tagging  SGTools-00-17-01.

File src/DataProxy.cxx

   bool canRelease = !isResetOnly() || force;
 #ifndef NDEBUG
   MsgStream gLog(m_ims, "DataProxy");
-  gLog << MSG::VERBOSE << "requestRelease(): "
-       << (canRelease ? " release " : " reset")
-       <<" object " 
-       << name() << " CLID " << clID() << " address " << MSG::hex
-       << object() << MSG::dec << endreq;
+  if (gLog.level() <= MSG::VERBOSE) {
+    gLog << MSG::VERBOSE << "requestRelease(): "
+	 << (canRelease ? " release " : " reset")
+	 <<" object " 
+	 << name() << " CLID " << clID() << " address " << MSG::hex
+	 << object() << MSG::dec << endreq;
+  }
 #endif
   if (canRelease)  release();
     else             reset();