propertyconfigurator
Override log4j.properties
My java application references a 3rd-party jar file which uses log4j logging. The problem is that this jar contains its own log4j.properties file which causes access denied exceptions on my machine, b[详细]
2023-01-26 19:12 分类:问答log4j - when to use PropertyConfigurator in tests?
I know you\'re supposed to only load log4j properties once, so what is standard practice when you\'re doing unit tests? Should I load it in every unit test file? Should I put it in jUnit\'s setUp() 开[详细]
2022-12-22 15:44 分类:问答