summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp')
-rw-r--r--TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp19
1 files changed, 13 insertions, 6 deletions
diff --git a/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp b/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
index 34c941b9edd..6acf648597d 100644
--- a/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
+++ b/TAO/orbsvcs/Fault_Detector/Fault_Detector_i.cpp
@@ -156,15 +156,22 @@ void TAO::Fault_Detector_i::notify()
}
ACE_TRY_NEW_ENV
{
-ACE_ERROR ((LM_ERROR,
-"call Fault Detector push Structured Event.\n"
-));
+ if (TAO_debug_level > 5)
+ {
+ ACE_ERROR ((LM_ERROR,
+ "call Fault Detector push Structured Event.\n"
+ ));
+ }
this->notifier_->push_structured_fault(vEvent.in()
ACE_ENV_ARG_PARAMETER);
-ACE_ERROR ((LM_ERROR,
-"return from Fault Detector push Structured Event.\n"
-));
ACE_TRY_CHECK;
+ if (TAO_debug_level > 5)
+ {
+
+ ACE_ERROR ((LM_ERROR,
+ "return from Fault Detector push Structured Event.\n"
+ ));
+ }
}
ACE_CATCHANY
{