aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-12-19 15:50:33 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-12-19 16:21:17 +0100
commit98a079aa692fe532e54a5b919d939bf7772af8fd (patch)
treea8e7ef6e40797fd6ebd05d384c3795787254ea62 /docs
parentcbc0d3fd410f50508fdd7b4cb05bac8f6a18a3a4 (diff)
downloadmitmproxy-98a079aa692fe532e54a5b919d939bf7772af8fd.tar.gz
mitmproxy-98a079aa692fe532e54a5b919d939bf7772af8fd.tar.bz2
mitmproxy-98a079aa692fe532e54a5b919d939bf7772af8fd.zip
rename logging.py example. this conflicted with Python's stdlib
Diffstat (limited to 'docs')
-rw-r--r--docs/scripting/overview.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/scripting/overview.rst b/docs/scripting/overview.rst
index 84f2135e..6ec0caaa 100644
--- a/docs/scripting/overview.rst
+++ b/docs/scripting/overview.rst
@@ -85,8 +85,8 @@ and mitmproxy console can place script output in the event buffer.
Here's how this looks:
-.. literalinclude:: ../../examples/simple/logging.py
- :caption: :src:`examples/simple/logging.py`
+.. literalinclude:: ../../examples/simple/log_events.py
+ :caption: :src:`examples/simple/log_events.py`
:language: python
The ``ctx`` module also exposes the mitmproxy master object at ``ctx.master``