always show error messages

This commit is contained in:
Maximilian Hils 2014-11-15 00:52:26 +01:00
parent 4c2e87638a
commit c7a96b2fb1
2 changed files with 2 additions and 2 deletions

View File

@ -1050,7 +1050,7 @@ class ConsoleMaster(flow.FlowMaster):
self.eventlist[:] = [] self.eventlist[:] = []
def add_event(self, e, level="info"): 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: if self.options.verbosity < needed:
return return

View File

@ -155,7 +155,7 @@ class DumpMaster(flow.FlowMaster):
return flows return flows
def add_event(self, e, level="info"): 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: if self.o.verbosity >= needed:
print >> self.outfile, e print >> self.outfile, e
self.outfile.flush() self.outfile.flush()