meld.util.HostNameContextFilter
- class meld.util.HostNameContextFilter(hostid)[source]
Bases:
Filter
Filter class that adds hostid information to logging records.
- __init__(hostid)[source]
Initialize a HostNameContextFilter
- Parameters
hostid (
str
) – the host id to add to logging output
Methods
__init__
(hostid)Initialize a HostNameContextFilter
filter
(record)Determine if the specified record is to be logged.