aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/filter_flows.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/filter_flows.py')
-rw-r--r--examples/simple/filter_flows.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple/filter_flows.py b/examples/simple/filter_flows.py
index d252089c..aba240de 100644
--- a/examples/simple/filter_flows.py
+++ b/examples/simple/filter_flows.py
@@ -19,8 +19,8 @@ class Filter:
def response(self, flow: http.HTTPFlow) -> None:
if flowfilter.match(self.filter, flow):
- print("Flow matches filter:")
- print(flow)
+ ctx.log.info("Flow matches filter:")
+ ctx.log.info(flow)
addons = [Filter()]