summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-05-07 22:46:51 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-05-07 22:46:51 +0000
commit724823f0b28f61807567fc50e8f2c187777de179 (patch)
tree87a35f535e7e2a68e68daa6f58097b75229d3af6
parent5a992220e8557e95ab35f2568361c64627110dfc (diff)
downloadATCD-724823f0b28f61807567fc50e8f2c187777de179.tar.gz
ChangeLogTag: Mon May 7 17:45:01 2001 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a6
-rw-r--r--TAO/tests/BiDirectional/test_i.cpp4
-rw-r--r--TAO/tests/BiDirectional/test_i.h1
-rw-r--r--TAO/tests/BiDirectional_NestedUpcall/test_i.cpp5
4 files changed, 14 insertions, 2 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 89b69a51a6f..29dbbecf1fd 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Mon May 7 17:45:01 2001 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * tests/BiDirectional_NestedUpcall/test_i.cpp:
+ * tests/BiDirectional/test_i.cpp: Made some print statements less
+ verbose.
+
Mon May 7 15:21:43 2001 Ossama Othman <ossama@uci.edu>
* tao/Object_Ref_Table.h:
diff --git a/TAO/tests/BiDirectional/test_i.cpp b/TAO/tests/BiDirectional/test_i.cpp
index 51b463607db..1ebabb17c76 100644
--- a/TAO/tests/BiDirectional/test_i.cpp
+++ b/TAO/tests/BiDirectional/test_i.cpp
@@ -3,6 +3,7 @@
#include "test_i.h"
#include "tao/ORB_Core.h"
+#include "tao/debug.h"
#if !defined(__ACE_INLINE__)
#include "test_i.i"
@@ -22,7 +23,8 @@ void
Callback_i::callback_method (CORBA::Environment & /*ACE_TRY_ENV*/)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_DEBUG ((LM_DEBUG, "Callback method called \n"));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG, "Callback method called \n"));
}
diff --git a/TAO/tests/BiDirectional/test_i.h b/TAO/tests/BiDirectional/test_i.h
index 607cfe86f88..3ae9010bbcd 100644
--- a/TAO/tests/BiDirectional/test_i.h
+++ b/TAO/tests/BiDirectional/test_i.h
@@ -42,6 +42,7 @@ public:
private:
CORBA::ORB_var orb_;
// The orb
+
};
class Simple_Server_i : public POA_Simple_Server
diff --git a/TAO/tests/BiDirectional_NestedUpcall/test_i.cpp b/TAO/tests/BiDirectional_NestedUpcall/test_i.cpp
index 690c28084db..a0818be54ca 100644
--- a/TAO/tests/BiDirectional_NestedUpcall/test_i.cpp
+++ b/TAO/tests/BiDirectional_NestedUpcall/test_i.cpp
@@ -2,6 +2,7 @@
#include "test_i.h"
#include "tao/ORB_Core.h"
+#include "tao/debug.h"
#if !defined(__ACE_INLINE__)
#include "test_i.i"
@@ -21,7 +22,8 @@ void
Callback_i::callback_method (CORBA::Environment & /*ACE_TRY_ENV*/)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_DEBUG ((LM_DEBUG, "Callback method called \n"));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG, "Callback method called \n"));
}
@@ -34,6 +36,7 @@ Simple_Server_i::test_method (CORBA::Boolean do_callback,
{
if (do_callback)
{
+ if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("About to make a remote call in the Upcall \n")));