Skip to content
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

quiet mode #19

Open
marcstern opened this issue Nov 30, 2022 · 0 comments
Open

quiet mode #19

marcstern opened this issue Nov 30, 2022 · 0 comments

Comments

@marcstern
Copy link
Contributor

Hello,
When shrinking DB, there's a lot of extra info displayed.
Although it doesn't hurt when calling the program interactively, it generates a lot og logs when scheduling it on a (very) regular basis.
I plan to propose a PR for a '-q' (quiet) flag to not display the info messages in the shrink process.
First of all, any reason to refuse this?

So, practical question: can someone explain me the goal of the p() complex macro in Linux?
Why not using the same as in Windows (#define p printf)?
I plan to use '#define p if (!quiet) printf' and use p() for all printf that are not important.

Thanks for advising

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant