System.out/err replaced with logger