1DIETTESTTOOL(1) DIETTESTTOOL(1)
2
3
4
6 DIETTestTool - Example of a tool for DIET using the LogCentral
7
9 DIETTestTool - Example of a tool that connects to the LogCentral with‐
10 out any filter and that display all the messages published. It is used
11 as an example for the DIET program. All received published messages are
12 also stored in a log file.
13
15 DIETTestTool [options] ...
16
18 DIETTestTool connects to the LogCentral and get the messages (by
19 default all, a file containing filters may be passed as an argument).
20 The tool both display and save the messages in a log file. This log
21 file may be given or will be created with a fix name "DIETLogTool.log".
22
23 Before starting the LogCentral, you must:
24
25 · launch a CORBA Naming Service.
26
27 · launch log forwarders if needed
28
29 · launch LogCentral service
30
31 · Launch the DIETTestTool
32
33 · Use a component to publish messages
34
36 · The first argument is the destination output file that will contain
37 the displayed logs.
38
39 · The second one is a filter to use in the tool
40
41 [Remark: There is no option letter, the order is fixed]
42
44 · Launching the LogCentral
45
46 LogCentral -config ./LogCentral.cfg
47
48 · Launching the tool
49
50 DIETTestTool
51
52 · Launching the tool to store the logs in the toto.log file
53
54 DIETTestTool toto.log
55
56 · Launching the tool to store the logs in the toto.log file with the
57 filter in the filter.txt file
58
59 DIETTestTool toto.log filter.txt
60
62 The LogTool uses CORBA as its communication layer. While it's a flexi‐
63 ble and robust middleware, its deployement on heterogeneous networks
64 still is delicate and may require using ssh tunnels.
65
67 Copyright
68 (C)2011, GRAAL, INRIA Rhone-Alpes, 46 allee d'Italie, 69364 Lyon cedex
69 07, France all right reserved <diet-dev@ens-lyon.fr>
70
71 License
72 This program is free software: you can redistribute it and/or mod‐ ify
73 it under the terms of the GNU General Public License as pub‐ lished by
74 the Free Software Foundation, either version 3 of the License, or (at
75 your option) any later version. This program is distributed in the hope
76 that it will be useful, but WITHOUT ANY WARRANTY; without even the
77 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
78 POSE. See the GNU General Pub- lic Li‐ cense for more details. You
79 should have received a copy of the GNU General Public License along
80 with this program. If not, see <http://www.gnu.org/licenses/>.
81
83 GRAAL INRIA Rhone-Alpes 46 allee d'Italie 69364 Lyon cedex 07, FRANCE
84 Email: <diet-dev@ens-lyon.fr> WWW: http://graal.ens-lyon.fr/DIET
85
87 omniNames(1), logForwarder(1), LogCentral(1), testComponent(1)
88
91 haikel.guemar@sysfera.com, kevin.coulomb@sysfera.com
92
93 License: GPLv3
94
96 DIET developers
97
98
99
100
1010.1 2011-05-16 DIETTESTTOOL(1)