From 724823f0b28f61807567fc50e8f2c187777de179 Mon Sep 17 00:00:00 2001 From: bala Date: Mon, 7 May 2001 22:46:51 +0000 Subject: ChangeLogTag: Mon May 7 17:45:01 2001 Balachandran Natarajan --- TAO/ChangeLogs/ChangeLog-02a | 6 ++++++ TAO/tests/BiDirectional/test_i.cpp | 4 +++- TAO/tests/BiDirectional/test_i.h | 1 + TAO/tests/BiDirectional_NestedUpcall/test_i.cpp | 5 ++++- 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 + + * 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 * 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"))); -- cgit v1.2.1