Revert "Use Logger instead of System.out and System.err (#10328)."

This reverts commit a52b0ba902781e5daeffa4f9bc2e48f35eea2c35.

Change-Id: I646c6067cd988f7593996642b22db3818f732d25