-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace tqdm, termcolor, tabulate with rich #2374
Conversation
# Ghidrathon interpreter cannot properly handle | ||
# the TMonitor thread that is created via a monitor_interval | ||
# > 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before merge we'll have to test and ensure the new implementation also works under Ghidra, which has some weird restrictions.
Let's also add a few more rendering tests and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please address the logging configuration comments, and then we're ready to go! thanks @s-ff
this commit sets up logging in `capa.main` and uses a shared `log_console` in `capa.helpers` for logging purposes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
logging.getLogger().setLevel(logging.DEBUG) | ||
else: | ||
logging.basicConfig(level=logging.INFO) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good fix, thanks for remembering this
|
||
# use RichHandler for root logger | ||
logging.getLogger().addHandler(rich_handler) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great, thank you!
Thanks, the new output looks great in my testing so far! |
closes #2100
Checklist