This package implements the service to archive ERS messages from TDAQ partitions and retrieving them later on. Its documentation can be found here:
When moving from the archival of MRS messages to the use of ERS the severity levels have changed. As a consequence, looking at new data with an old version of the log_manager the INFORMATION messages will be tagged as DIAGNOSTICS, while looking at old data with the new version of the log manager INFORMATION messages will be tagged as LOG.
The package has been modified in order to use the ERS api to receive messages.
Usage: log_manager
Instruction on how to use this tool are on the Help menu in the application itself. The Log Manager can also be run using Java Web Start technology from the following link: https://atlasdaq.cern.ch/jnlp/logmanager/logmanager.jnlp A Java application is downloaded and started. You MUST have at least Java 1.6 installed on your local machine.
Description: This application subscribes to the MRS service to receive and log on a database messages produced by TDAQ applications.
Usage: lsReceiver [-p partition-name] [-u user-name] [-n IS-server-name] [-s threshold-size] -c connect-string [-S subscribe-expression]
Options/Arguments:
-p partitionName Partition name
-u userName User name
-n ISserverName Name of the Information Service to publish the message rate into.
-c connectionString Database connection string.
Description: Test binary for the Log Receiver application.
Usage: logTest -c connect-string [-p partition-name] [-l complexity-level]
Options/Arguments:
-p partitionName Partition name
-l level Level of Complexity of the test [1: open/close - 2: tests the Log Service Infrastructure].
-c connectionString Database connection string.
Description: Application to retrieve log messages for a given partition according to the search criteria specified. By default, messages are dumped on std::cout.
Usage: logSelect -c connect-string -p partition-name [-i message-name] [-m machine-name]
[-a application-name] [-l time-low] [-u time-up] [-s severity]
[-x text] [-r parameters] [-d order-list] [-e max-rows] [-f offset-row]
Options/Arguments:
-c connectionString Database connection string.
-p partitionName Partition name.
-u userName User name.
-n run-number Run Number.
-i message-name Message name or ID.
-m machine-name Machine name where the message was issued.
-a application-name Application name where the message was issued.
-L time-low Lower time threshold (in UTC time).
-U time-up Upper time threshold (in UTC time).
-s severity Message severity:
0 - DEBUG
1 - LOG
2 - INFORMATION
3 - WARNING
4 - ERROR
5 - FATAL
-x text Text in the message body.
-r parameters Message parameters.
-d order-list Parameter to sort the messages by (MSG_ID, MACHINE_NAME, APPLICATION_NAME, ISSUED_WHEN, SEVERITY, MSG_TEXT, PARAMETERS, RUN_NUMBER).
-e max-rows Maximum number of rows to retrieve from the database; 100 by default. If 0, all entries are retrieved.
-f offset-row Offset in the table to retrieve the messages from.
Description: Application to remove log messages for a given partition according to the search criteria specified.
Usage: logDelete -c connect-string -p partition-name [-i message-name] [-m machine-name]
[-a application-name] [-l time-low] [-u time-up] [-s severity]
[-x text] [-r parameters]
Options/Arguments:
-c connectionString Database connection string.
-p partitionName Partition name
-u userName User name.
-n run-number Run Number.
-i message-name Message name or ID.
-m machine-name Machine name where the message was issued.
-a application-name Application name where the message was issued.
-L time-low Lower time threshold (in UTC time).
-U time-up Upper time threshold (in UTC time).
-s severity Message severity:
0 - DEBUG
1 - LOG
2 - INFORMATION
3 - WARNING
4 - ERROR
5 - FATAL
-x text Text in the message body.
-r parameters Message parameters.
Description: Application to retrieve the list of partition names.
Usage: logGetPartitionNames -c connectionString
Options/Arguments:
-c connectionString Database connection string.