Very simple log4j2 properties configuration file using Console and Rolling File appender
问题 I'd like a log4j2 properties file configuration with a console and a rolling file appender using log4j2 that can be used different application. The log configuration should rotate the log in production environment. 回答1: I think there is no such industry standard for logging or log4j2 configuration. Everyone change the configuration as per the need of the application. Below is one sample log4j2 configuration file having ConsoleAppender and RollingFileAppender - status = warn name= properties