bbot icon indicating copy to clipboard operation
bbot copied to clipboard

Don't write debug logs to console

Open TheTechromancer opened this issue 7 months ago • 3 comments

Debug is too intense and probably should only be written to a file.

FYSA @aconite33

TheTechromancer avatar May 07 '25 14:05 TheTechromancer

@TheTechromancer I agree, but at the same time, we've never tried to clean it up and I think we probably should.

liquidsec avatar Jun 13 '25 15:06 liquidsec

Yes, logging needs an overhaul. Right now we are using QueueHandlers with multiprocessing.queue to log to the same file between process boundaries. It needs to be simplified, probably just by logging the DNS engine and web engine to separate files, to avoid the interprocess overhead.

EDIT: and of course cleaning up the debug statements

TheTechromancer avatar Jun 13 '25 15:06 TheTechromancer

I'm assigning both of us, i'm gonna try to make a pass to clean up all my modules as far as excessive debug messages

liquidsec avatar Aug 13 '25 00:08 liquidsec