diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-06-10 10:47:28 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-06-10 10:47:28 +1200 |
commit | 2cf79b79126c0845067abce9ab24500810772404 (patch) | |
tree | e0a9c184a815285c4395f3b26e6062f821a2b338 /test/pathod | |
parent | c421c41307ce1ced06dae9f1d37fb516e6437f1e (diff) | |
download | mitmproxy-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')
-rw-r--r-- | test/pathod/test_log.py | 2 |
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") |