Is there no way to use an option to phantomjs to control what console logging level is printed out? With most logging frameworks, you can set the log level to say info, and then any debug logging won't show up.