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
Copy file name to clipboardExpand all lines: doc/README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,10 @@ The InfoLogger library allows to inject messages directly from programs, as show
237
237
## Configuration
238
238
239
239
* Description and example of parameters for each InfoLogger component can be found in /opt/o2-InfoLogger/etc/*.cfg.
240
-
The parameters can usually be mixed in a single configuration file, as they are grouped in sections ([infoLoggerServer], [infoLoggerD], [infoBrowser], ...).
240
+
The parameters can usually be mixed in a single configuration file, as they are grouped in sections ([infoLoggerServer], [infoLoggerD], [infoBrowser], [client] ...).
241
+
242
+
* Path to configuration file can be defined as startup parameter for the infoLoggerServer and infoLoggerD daemons. Processes using the client library can also be
243
+
configured by defining the INFOLOGGER_CONFIG environment variable, pointing to the selected config file. The path should be in the form: "file:/etc/infoLogger.cfg"
241
244
242
245
* On multiple-hosts systems, the serverHost configuration key should be set for infoLoggerD and infoBrowser, so that they are able to connect infoLoggerServer
243
246
if not running locally.
@@ -265,3 +268,12 @@ achieved on CentOS 7 with e.g. (as root):
265
268
During development phase, it can be useful to set mode to "stdout", to allow using the infoLogger interface
266
269
and printing messages without infoLoggerD/infoLoggerServer.
267
270
When "infoLoggerD" mode is selected and no infoLoggerD connection can be established, the mode falls back to "stdout".
271
+
272
+
* infoLoggerD local socket
273
+
274
+
The connection between a client process using infoLogger API and the local infoLoggerD is done through a UNIX named socket.
275
+
By default, it uses a Linux abstract socket name.
276
+
On systems where such sockets are not available, one can configure it to a named socket associated with the filesystem.
277
+
This can be done by specifying in infoLoggerD configuration the rxSocketPath parameter, and name it with a path starting with '/', e.g. '/tmp/infoLoggerD.socket'.
278
+
The same value has to be set for the client configuration, in the txSocketPath key.
279
+
User is responsible to ensure that file access permissions are configured properly.
0 commit comments