Removes System.out
Changes the logger to log4j