summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authormitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-06-08 19:27:39 +0000
committermitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-06-08 19:27:39 +0000
commit80d9b99f2b37b0bfed495ad499e79ceeda8800bd (patch)
treedb1dbd7bfe47e999200d51c1694b13a6be360339 /TAO/orbsvcs
parent82ca6f504ae3c870fc09ab735b074e4c04d2b3d1 (diff)
downloadATCD-80d9b99f2b37b0bfed495ad499e79ceeda8800bd.tar.gz
ChangeLogTag: Mon Jun 8 19:18:58 UTC 2009 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r--TAO/orbsvcs/Notify_Service/README20
-rw-r--r--TAO/orbsvcs/examples/Notify/MC/monitor/monitor.cpp2
2 files changed, 20 insertions, 2 deletions
diff --git a/TAO/orbsvcs/Notify_Service/README b/TAO/orbsvcs/Notify_Service/README
index c0088d87cd3..bf5387008f2 100644
--- a/TAO/orbsvcs/Notify_Service/README
+++ b/TAO/orbsvcs/Notify_Service/README
@@ -69,7 +69,12 @@ Command line arguments:
'corba_messaging' MPC feature during building of the
Notify_Service, which is on by default.
-!! The -Notify_TPReactor option is deprecated!! use the -RunThreads
+"-LoggingInterval seconds" : Sets up a logging interval timer for the ORB's
+ reactor. This is required to use the ACE
+ Logging Service features such as file sizing
+ and rotation. See the example below.
+
+!! The -Notify_TPReactor option is deprecated!! use the -ORBRunThreads
option instead.
"-Notify_TPReactor [threads]": Tells the Notify Service that the ORB
@@ -128,6 +133,19 @@ Note that the client uses:
resolve_initial_references ("NotifyEventChannelFactory");
to obtain the object reference.
+Using the ACE Logging Service:
+------------------------------
+
+Start the Notify_Service executable with the debug options desired and
+the -LoggingInterval option:
+
+./Notify_Service -ORBDebugLevel 10 -ORBVerboseLogging 1 -ORBSvcConf ns.conf -LoggingInterval 5
+
+Configure the logging service in the ns.conf file:
+dynamic Logging_Strategy Service_Object * ACE:_make_ACE_Logging_Strategy() "-s NS -f OSTREAM -t 0 "
+
+
+
The svc.conf options:
----------------------
diff --git a/TAO/orbsvcs/examples/Notify/MC/monitor/monitor.cpp b/TAO/orbsvcs/examples/Notify/MC/monitor/monitor.cpp
index 8e3d04c526d..1c9d77bd985 100644
--- a/TAO/orbsvcs/examples/Notify/MC/monitor/monitor.cpp
+++ b/TAO/orbsvcs/examples/Notify/MC/monitor/monitor.cpp
@@ -267,7 +267,7 @@ ACE_TMAIN (int argc, ACE_TCHAR* argv[])
{
ACE_DEBUG ((LM_DEBUG,
"Last: %g Average: %g\n",
- data->data_union.num().dlist[0],
+ data->data_union.num().dlist[0].value,
data->data_union.num().average));
}
else