system.out change to logger