aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/pathod.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 /pathod/pathod.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 'pathod/pathod.py')
-rw-r--r--pathod/pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/pathod.py b/pathod/pathod.py
index ed35a92e..d1cc9980 100644
--- a/pathod/pathod.py
+++ b/pathod/pathod.py
@@ -266,7 +266,7 @@ class PathodHandler(tcp.BaseHandler):
lr = self.rfile if self.server.logreq else None
lw = self.wfile if self.server.logresp else None
- logger = log.ConnectionLogger(self.logfp, self.server.hexdump, lr, lw)
+ logger = log.ConnectionLogger(self.logfp, self.server.hexdump, True, lr, lw)
self.settings.protocol = self.protocol