5.4.3.3 blacklist.txt

The file /home/satnms/edb/blacklist.txt defines a list of events which shall be suppressed and not included in the log. A filter rule is defined as one line, starting with the name of the device this rule shall apply to. * acts as a wildcard matching all devices here.

Separated by one space character, a regular expression follows which is checked against the event message text. A event message will be suppressed if both, the device name and the message text pattern match one of the rules defined in blacklist.txt

Remark: Regular expressions are case-sensitive !

The file may contain comment lines starting with a # character. Empty lines are ignored as well. All other lines must contain valid filter rules.

The file is read once at system start, hence any changes to this file become effective with the next restart of the MNC service.

Example 1: filters messages from switch devices (SW-1,SW-2) which contains the word position.

SW-1 position
SW-2 position

This matches against event messages like these:

Example 2: suppress for all devices (*) messages about stored settings which are applied to devices at startup.

* by stored settings

This matches against event messages like these:

Example 3: filter all changes output of a range of matrix ports (Port 01-08).

MX-RX output.0[1-8].*change

This matches against event messages like these, but not for other output ports from 11 and above.

Example 4: filter antenna commands from a Pointing Robot / Antenna Management Device (ANT-5) to an antenna controller (ACU-5). This is usefull if config.logParameterChanges is 'true' to suppress commands from the logical device but still show commands issued by an operator.

ACU-5 azimuth changed to .* by ANT-5
ACU-5 elevation changed to .* by ANT-5
ACU-5 logPosition changed to .* by ANT-5

This matches against event messages like these, but not for other output ports from 11 and above.