Trace Command

Command Purpose

The trace command is used to query and control traced key values across the JSLEE cluster.

Command Syntax

Show Active Traces

The currently traced key values can be queried using the show action:

trace show

Example output for the command trace show might be:

'imsi': <no entries>
'msisdn': 11223344, 22334455

Add Traced Value

A new traced value can be added using the enable action:

trace enable <key> <value>

Where key is the specific field to check and value is the specific value to match.

Note that the interpretation of the key and the matching of the value is done on a per-service implementation.

Remove Traced Value

An existing traced value can be removed using the disable action:

trace disable <key> <value>

Where key is the specific field to check and value is the specific value to remove.

Error Messages

Invalid Syntax

ERROR: command must be supplied.

The trace command requires an action parameter to be passed to it.

ERROR: command, key, and value must be supplied to alter trace entries.

The trace command requires an action parameter, a key to check, and a value to trace on when enabling or disabling traced items.

ERROR: Unrecognised command '<command>'.

The trace command only accepts certain command keywords. Review the available commands and alter the input to match.