modify: log to log4j.