SonarQube warnings cleanup (Major warnings)

This pull requestion replaced all the System.xxx.println() into System.xxx.format(). 

Do not write System.out.print - log the information instead of using System.out.print or System.out.println statement, System.xxx.format() is acceptable.