Relative Content

Tag Archive for javapropertieslog4j2rollingfileappender

Log4j2 configuration for Java application using Log4j2.properties file

My Requirement I have an ETL application that runs every hour through a task scheduler. Whenever the ETL app starts the logfile needs to be generated named as ETL_LOG_<CURRENT_DATE_AND_TIMESTAMP>.log. The file needs to be rolled over once it reaches the size limit of 20MB and the filename containing the CURRENT_DATE_AND_TIMESTAMP should remain constant for all […]