aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_log.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-06-10 10:47:28 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-06-10 10:47:28 +1200
commit2cf79b79126c0845067abce9ab24500810772404 (patch)
treee0a9c184a815285c4395f3b26e6062f821a2b338 /test/pathod/test_log.py
parentc421c41307ce1ced06dae9f1d37fb516e6437f1e (diff)
downloadmitmproxy-2cf79b79126c0845067abce9ab24500810772404.tar.gz
mitmproxy-2cf79b79126c0845067abce9ab24500810772404.tar.bz2
mitmproxy-2cf79b79126c0845067abce9ab24500810772404.zip
Remove timestamps from pathoc output
Pathoc is an interactive tool, no need for a long leading timestamp. More generally, make timestamps optional in the logging mechanism so we can configure this with command-line flags or something down the track.
Diffstat (limited to 'test/pathod/test_log.py')
-rw-r--r--test/pathod/test_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_log.py b/test/pathod/test_log.py
index 29801eb3..0cd5b3b0 100644
--- a/test/pathod/test_log.py
+++ b/test/pathod/test_log.py
@@ -16,7 +16,7 @@ class DummyIO(six.StringIO):
def test_disconnect():
outf = DummyIO()
rw = DummyIO()
- l = log.ConnectionLogger(outf, False, rw, rw)
+ l = log.ConnectionLogger(outf, False, True, rw, rw)
try:
with l.ctx() as lg:
lg("Test")