Using LOG instead of System.out