all jar files using my log4j. too much information on log file
问题 I started learning log4j. It is awesome. But my project is tooo big. has so many jar files. when I set my log level to DEBUG, all other jar files debug messages are printing in my log file. With in a minute the logfile size increased to 5MB. I want to just display my log messages in my class. How I can do that ? My configuration is as follows log4j.properties # Define the root logger with appender file log = ./logs log4j.rootLogger = DEBUG, FILE # Define the file appender log4j.appender.FILE