then I set the appender MyFile's properties, etc.
Things work fine and I see all my application logs in my log file as expected. But, I found all the open source library logs go to system out file, even I didn't have "stdout" in my log4j.rootCategory.
I do have settings for open source like
but they all go to system.out file. None of them in myLog.log file.
Stephan van Hulst wrote:How do you know that those libraries are using log4net?
good point. I guess I mistakenly thought if I do "log4j.logger.org.apache.commons=DEBUG" it would set its level to DEBUG. But actually apache commons probably only uses system out and not using my log4j setting at all.