summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a6
-rw-r--r--TAO/examples/PluggableUDP/DIOP/DIOP_Transport.cpp30
2 files changed, 23 insertions, 13 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 177408d347e..15a6f8c9aa7 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Sat Apr 21 01:45:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
+
+ * examples/PluggableUDP/DIOP/DIOP_Transport.cpp:
+
+ Removed debug messages.
+
Sat Apr 21 01:35:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* examples/PluggableUDP/tests/Performance/Makefile:
diff --git a/TAO/examples/PluggableUDP/DIOP/DIOP_Transport.cpp b/TAO/examples/PluggableUDP/DIOP/DIOP_Transport.cpp
index 5b0e362a66e..d8fc10372d0 100644
--- a/TAO/examples/PluggableUDP/DIOP/DIOP_Transport.cpp
+++ b/TAO/examples/PluggableUDP/DIOP/DIOP_Transport.cpp
@@ -188,13 +188,14 @@ TAO_DIOP_Transport::send_i (const ACE_Message_Block *message_block,
iovcnt,
addr);
- /*
- ACE_DEBUG ((LM_DEBUG,
- "TAO_DIOP_Transport::send_i: sent %d bytes to %s:%d\n",
- bytes_transferred,
- addr.get_host_name (),
- addr.get_port_number ()));
- */
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "TAO_DIOP_Transport::send_i: sent %d bytes to %s:%d\n",
+ bytes_transferred,
+ addr.get_host_name (),
+ addr.get_port_number ()));
+ }
// Errors.
// @@ John Mackenzie. We cannot propogate errors up in DIOP
@@ -230,12 +231,15 @@ TAO_DIOP_Transport::recv_i (char *buf,
len,
from_addr);
- ACE_DEBUG ((LM_DEBUG,
- "TAO_DIOP_Transport::recv_i: received %d bytes from %s:%d %d\n",
- n,
- from_addr.get_host_name (),
- from_addr.get_port_number (),
- errno));
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "TAO_DIOP_Transport::recv_i: received %d bytes from %s:%d %d\n",
+ n,
+ from_addr.get_host_name (),
+ from_addr.get_port_number (),
+ errno));
+ }
// Remember the from addr to eventually use it as remote
// addr for the reply.