MCPcopy
hub / github.com/gitcoinco/web / filter

Method filter

app/app/log_filters.py:29–32  ·  view source on GitHub ↗

Add the HostFilter derived hostname to log output.

(self, record)

Source from the content-addressed store, hash-verified

27 hostname = socket.gethostname()
28
29 def filter(self, record):
30 """Add the HostFilter derived hostname to log output."""
31 record.hostname = HostFilter.hostname
32 return True

Callers 15

viz_spiralFunction · 0.80
viz_chordFunction · 0.80
viz_steamgraphFunction · 0.80
viz_heatmapFunction · 0.80
viz_sunburstFunction · 0.80
viz_graphFunction · 0.80
viz_draggableFunction · 0.80
viz_scatterplot_helperFunction · 0.80
statsFunction · 0.80
cohort_helper_usersFunction · 0.80
cohort_helper_numFunction · 0.80

Calls

no outgoing calls