Fixed logging statement format.
Removed System.out.println statements.