Message Page

From MidasWiki
Jump to navigation Jump to search


Links



Purpose

The purpose of the mhttpd Message page is to display the contents of the MIDAS Messages log file in blocks of 100 lines starting with the most recent messages. This log file contains system and user messages generated by applications connected to the experiment. See Message System for details.


Access the Message page

The Message Page is accessed from the Status Page (or one of the other Pages) by clicking on the menu-button Messages .

Note
If "Messages" button is not present on the Status Page, it may have been suppressed.

Example

Figure 1 Example of Messages page for an experiment, Click to enlarge

An example of the Message page is shown in Figure 1.

Error messages (i.e. those of Message Type MERROR) are shown in red. The other messages shown are information messages of Message Type MINFO.

 

Filtering and searching for messages

Figure 2 Filters available, Click to enlarge

As of December 2024, MIDAS messages can be filtered using multiple queries. There are 5 filters available, and you can apply multiple filters simultaneously if desired.

After typing the filters, one needs to press enter or press the 'filter' button to start the filtering process. If the filtering takes a long time, the process can be interrupting by clicking the mouse anywhere in the webpage.

Messages that match the filters will then appear at the top of the message list, highlighted in green. All the non-matching messages then follow with the regular background colours.

 

The different filters are:
Program Name: Filter messages based on the name of the program (e.g. Sequencer, mhttpd)
Status: Show only info/error messages etc
Time: Find messages at a specific timestamp. It searches from the start of the timestamp associated with the message, so "09:45" will find all messages at 9:45am, "9:45" will not match anything (as the timestamps start with 09), and "09:45:56.237" will match only messages at that specific timestamp. Only the time portion can be searched, not the date.
Search Text: Search the actual message content
Hour: Show only the last x hours/days