Convert example logging to log4j console.