You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
folder created under your home directory when RTI Connext is installed.
16
+
17
+
This example shows a simple application running Distributed Logger to
18
+
log several messages using different configurations.
19
+
20
+
The log messages can then be visualized using RTI Tools such as RTI Spy
21
+
or RTI Admin Console.
22
+
For example, you may find RTI Spy in your RTI Connext DDS installation
23
+
and run it from a terminal as follows:
24
+
25
+
```sh
26
+
cd rti_connext_dds-7.2.0/bin
27
+
./rtiddsspy -printSample
28
+
```
29
+
30
+
Once the Distributed Logger example is running in a different terminal,
31
+
you should start seeing state information along with the logged messages
32
+
on RTI Spy:
33
+
34
+
```txt
35
+
RTI Connext DDS Spy built with DDS version: 7.2.0
36
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
+
rtiddsspy is listening for data, press CTRL+C to stop it.
38
+
39
+
[...]
40
+
41
+
09:02:38 New data from 192.168.1.228 : topic="rti/distlog" type="com::rti::dl::LogMessage"
42
+
hostAndAppId:
43
+
rtps_host_id: 16867916
44
+
rtps_app_id: 1940525435
45
+
level: 400
46
+
category: ""
47
+
message: "This is a warning message"
48
+
messageId: 1
49
+
50
+
[...]
51
+
```
52
+
53
+
To learn more about the *Distributed Logger*, refer to the Connext DDS
54
+
API online documentation. (Eg.
55
+
[Modern C++ Distributed Logger](https://community.rti.com/static/documentation/connext-dds/7.2.0/doc/api/connext_dds/distributed_logger/api_cpp2/index.html)).
0 commit comments