Skip to content

Commit 80a277e

Browse files
committed
v1.3.11 features
1 parent 25a266f commit 80a277e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

doc/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ The InfoLogger library allows to inject messages directly from programs, as show
176176
* More information on the API can be found in the headers /opt/o2-InfoLogger/include and the corresponding
177177
documentation generated by Doxygen.
178178
179+
* When using the C++ API, it is recommended to use the macros defined in InfoLoggerMacros.hxx to have the full context defined (severity, level, errno, source file/line) for each message in a compact way.
180+
179181
* Some example calls are available in [the source code](/test/testInfoLogger.cxx)
180182
181183
* There is the possibility to easily redirect FairLogger messages (see InfoLoggerFMQ.hxx) and process stdout/stderr to infologger (see InfoLogger.hxx setStandardRedirection())
@@ -184,8 +186,7 @@ The InfoLogger library allows to inject messages directly from programs, as show
184186
185187
* The tags associated to a message consist of the following fields (which may be left undefined):
186188
* Severity: the kind of message, one of: Info (default), Error, Fatal, Warning, Debug
187-
* Level: the relative visibility of the message and associated target audience to whom is addressed the message: from 1 (important, visible to all) to 99 (low-level debug message, for experts only).
188-
For ALICE Run 2, the following ranges were used to categorize messages in DAQ/ECS: operations (1-5) support (6-10) developer (11-20) debug (21-99).
189+
* Level: the relative visibility of the message and associated target audience to whom is addressed the message: from 1 (important, visible to all) to 99 (low-level debug message, for experts only). The following ranges are defined to categorize messages for a typical production environment: operations (1-5) support (6-10) developer (11-20) trace (21-99). Trace messages are usually not enabled in normal running conditions, and relate to debugging activities (also akin of the 'Debug' severity).
189190
* Timestamp: time at which message was injected (Unix time in seconds since 1.1.1970). Precision goes to the microsecond.
190191
* Hostname: the name of the machine where the message is issued. For concision, the domain name is excluded from this tag, only the base IP host name is kept.
191192
* Rolename: the role name associated to the entity running the process. The same host might run several different roles. Example role name: FLP-TPC-1, EPN-223.

doc/releaseNotes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ This file describes the main feature changes for each InfoLogger released versio
3939

4040
## v1.3.10 - 04/08/2020
4141
- added automatic reconnection from clients to infoLoggerD
42+
43+
## v1.3.11 - 07/08/2020
44+
- added helper definition for typical levels (operations, support, developer, trace)
45+
- added macros for compact writing of log commands with all fields set (severity, level, errno, source file/line). See InfoLoggerMacros.hxx.
46+
- sourceFile field: leading path is removed to keep only short filename.

0 commit comments

Comments
 (0)