If using maven, usually you put log4j.properties under java or resources?
Where does maven search for log4j.properties file?
Log4j not picking up log4j.properties file from resources folder log4j.properties (No such file or directory) Error reading log4j.properties in my Maven project How to set log4j.properties in Eclipse? Log4J in jar - properties log4j.properties, where to put it Log4j properties and log4j.xml Using log4j in maven project log4j.properties in multiple maven modules? Where/how does log4j look for a log4j.properties file? Should I put log4j.properties file into library? Log4j doesn't create any file using log4j.properties Multiple log4j.properties files Log4J properties file not found Log4j doesn't see .properties file log4j in simple java maven project Override log4j.properties from within the log4j.properties log4j can't initialize with my log4j.properties Log4J: remove properties from CloseableThreadContext log4j doesn't read its log4j.properties file Using simple Log4j.properties in my java code log4j reset properties back to original as in log4j.properties file log4j properties file cannot be read How should log4j.properties  look like? log4j properties: LevelMatchFilter doesn't work Log4j properties from each module How can I make Log4j find my properties Problems with loading multiple resources - log4j.properties Cannot find log4j on the class path - Maven