log4j.properties: set the appender DAILY
log4j.appender.DAILY=org.apache.log4j.DailyRollingFileAppender log4j.appender.DAILY.File=${user.home}/daily.log log4j.appender.DAILY.DatePattern='.' yyyy-MM-dd-HH-mm