Using logInfo doesnt work (prints nothing on screen) with the examples because by default there is not log4j loaded in the examples. And its probably not a good idea to assume log4j would be there. So its better change logInfo to println so that there is some feedback on screen.