log4j.properties: set the appender ROLLING
log4j.appender.ROLLING=org.apache.log4j.RollingFileAppender log4j.appender.ROLLING.File=${user.home}/rolling.log log4j.appender.ROLLING.MaxFileSize=1KB