Capturing print statements may be bad for performance. Make it possible to disable via a command-line option.