diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-01 00:15:03 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-01 00:15:03 +1200 |
commit | d74a341e5dcf91f1b2499aa91e4c26867739fdec (patch) | |
tree | b39e9987c1eaebba2859b6c1c95f8f0d7da50041 /libmproxy/dump.py | |
parent | 9fd4c3783426f554758808f50f79a52fef22e8ce (diff) | |
download | mitmproxy-d74a341e5dcf91f1b2499aa91e4c26867739fdec.tar.gz mitmproxy-d74a341e5dcf91f1b2499aa91e4c26867739fdec.tar.bz2 mitmproxy-d74a341e5dcf91f1b2499aa91e4c26867739fdec.zip |
Beef up logging substantially.
Diffstat (limited to 'libmproxy/dump.py')
-rw-r--r-- | libmproxy/dump.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 36f54608..ea4ac0b3 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -144,6 +144,10 @@ class DumpMaster(flow.FlowMaster): if self.eventlog: print >> self.outfile, e + def handle_log(self, l): + self.add_event(l.msg) + l._ack() + def handle_request(self, r): f = flow.FlowMaster.handle_request(self, r) if f: |