Changed logger to System.out