This documentation supports the 20.02 (12.0) version of BMC Discovery.

To view an earlier version of the product, select the version from the Product version menu.

Log functions

The following functions are for logging. Each takes a single positional argument:

The log messages that are output automatically include the name of the pattern performing the log action. Logs are stored in the directory /usr/tideway/log. The file tw_svc_eca_patterns_nn.log contains log messages from TPL patterns, where nn is the ECA engine number of the Reasoning subsystem. If a pattern is misbehaving, its output will be here. For more information, see Contents of the logs.

Each function takes a single positional argument:

Function nameParameterDescription

log.debug

(string)

Log the given message with a debug level message.

log.info

(string)

Log the given message with an info level message.

log.warn

(string)

Log the given message with a warn level message.

log.error

(string)

Log the given message with an error level message.

log.critical

(string)

Log the given message with a critical level message.
Was this page helpful? Yes No Submitting... Thank you

Comments