diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-11-15 00:52:26 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-11-15 00:52:26 +0100 |
commit | c7a96b2fb121ba811aa5dbc580cb44fc6c4d2ed6 (patch) | |
tree | f83b1d53f778bc28d604f3211d09988405b1ea13 /libmproxy | |
parent | 4c2e87638a4e93e7d434a8d1846cbb455a7b35b6 (diff) | |
download | mitmproxy-c7a96b2fb121ba811aa5dbc580cb44fc6c4d2ed6.tar.gz mitmproxy-c7a96b2fb121ba811aa5dbc580cb44fc6c4d2ed6.tar.bz2 mitmproxy-c7a96b2fb121ba811aa5dbc580cb44fc6c4d2ed6.zip |
always show error messages
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/console/__init__.py | 2 | ||||
-rw-r--r-- | libmproxy/dump.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index fc6600c1..e6bc9b41 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -1050,7 +1050,7 @@ class ConsoleMaster(flow.FlowMaster): self.eventlist[:] = [] def add_event(self, e, level="info"): - needed = dict(error=1, info=1, debug=2).get(level, 1) + needed = dict(error=0, info=1, debug=2).get(level, 1) if self.options.verbosity < needed: return diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 4d899fe8..0d9432c9 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -155,7 +155,7 @@ class DumpMaster(flow.FlowMaster): return flows def add_event(self, e, level="info"): - needed = dict(error=1, info=1, debug=2).get(level, 1) + needed = dict(error=0, info=1, debug=2).get(level, 1) if self.o.verbosity >= needed: print >> self.outfile, e self.outfile.flush() |