Public Member Functions | |
def | __init__ |
def | filter |
Public Attributes | |
params |
Filter out messages that contain a certain string. If a message contains any of the substrings in 'params', the message will get filtered. To add to the config as a filter called "ignore_status", "filters" : { "ignore_status": { "()" : "nasa_common_logging.IgnoreIfContainsFilter", "params" : ["name:status","state:\"COMPLETE\"", "args=(), kwargs={}", "callback"] } }
Definition at line 3 of file logging_filters.py.
def nasa_common_logging.logging_filters.IgnoreIfContainsFilter.__init__ | ( | self, | |
params = [] |
|||
) |
@type params list @param params List of strings to search for filtering
Definition at line 19 of file logging_filters.py.
def nasa_common_logging.logging_filters.IgnoreIfContainsFilter.filter | ( | self, | |
record | |||
) |
Definition at line 26 of file logging_filters.py.
Definition at line 22 of file logging_filters.py.