OpenRCE / sulley

A pure-python fully automated and unattended fuzzing framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sulley/sessions.py l401 logger.error

ebaudr02 opened this issue · comments

Why are theses lines (401-402) as error in the logger :
self.logger.error("current fuzz path: %s" % current_path)
self.logger.error("fuzzed %d of %d total cases" % (self.total_mutant_index, self.total_num_mutations)).
It's confusing whereas it doesn't seem to raise an error.

Thank you for answering.

good question, looks like it should just be a self.logger.info call...

That's weird. With a self.logger.info and a setLevel to DEBUG, INFO logs don't show ...

Well that is peculiar... I have never had that happen with py.. Are you using a system install of py? or are you doing virtualenvs?

I am using a system install for tests. No VM.

commented

Hrm, yeah seems like a hack to just make logging actually output. I can dig into this and see if I can figure out what's going on.

commented

Ah, check out the following line ->

consolehandler.setLevel(log_level)

I'll refactor this to be less silly.

commented

I kinda hate that github auto-closes issues like this.

Either way, this should be fixed. Can you git pull and try again?

Ok for me =). Thanks ! Still the l442 is info and not error I guess.

commented

Oops! Totally missed that one :).

Nice catch, should be fixed.