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

Change-Id: Icf53bdb80caf7a6989b90cf5ce83dd328d3e73dd