Hi, please use log4cxx 0.9.8, if anyhow possible. A daily distribution tarball and binaries are available at http://www.littletux.net/log4cxx/
I tried your application with it, and the output without the property file is 0 [0x2aaaad76b850] INFO MyApp null - Entering application. 1 [0x2aaaad76b850] INFO MyApp null - Exiting application. and with the property file its 1 [0x2aaaad76b850] INFO MyApp null - Entering application. 1 [0x2aaaad76b850] INFO MyApp null - Exiting application. Regards, Andreas Jing Yang wrote: > When the example MyApp(similar in short introduction) was run with config > file "log4j.properties", the unexpected output was as below: [...]