summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-21 06:44:04 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-21 06:44:04 +0000
commitcab78612a54251c1b66532ceacc4da80a18c9b49 (patch)
treeb7d5d958bc7e68d25310a7f8409d81e0f210e257
parentf652751baae17581576ec5d02643d934bdec351e (diff)
downloadATCD-cab78612a54251c1b66532ceacc4da80a18c9b49.tar.gz
ChangeLogTag: Sat Apr 21 01:45:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
-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.