titanfe.logutils.filter module

filter for the titan logging to get the hostname into the log records

class titanfe.logutils.filter.HostnameFilter(name='')[source]

Bases: logging.Filter

Make the hostname available in log records

filter(record)[source]

Determine if the specified record is to be logged.

Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place.

hostname = 'build-9920358-project-510666-titanfe'