Re: Log file should exist? how to log Chinese characters?

2009-04-08 Thread Curt Arnold
On Apr 8, 2009, at 4:17 AM, Lijuan Zhu wrote: I am new to Log4cxx, and just got it into my projects. I have two questions now: 1, The log file I specified in the xml configuration file should exist? how to change the configuration so the log4cxx could create the log file if it does not

Log file should exist? how to log Chinese characters?

2009-04-08 Thread Lijuan Zhu
I am new to Log4cxx, and just got it into my projects. I have two questions now: 1, The log file I specified in the xml configuration file should exist? how to change the configuration so the log4cxx could create the log file if it does not exist? 2. I could not log Chinese characters into the

Re: Log file should exist? how to log Chinese characters?

2009-04-08 Thread Curt Arnold
On Apr 8, 2009, at 4:17 AM, Lijuan Zhu wrote: I am new to Log4cxx, and just got it into my projects. I have two questions now: 1, The log file I specified in the xml configuration file should exist? how to change the configuration so the log4cxx could create the log file if it does not

Re: Log file should exist? how to log Chinese characters?

2009-04-08 Thread Lijuan Zhu
Thanks, Curt. The second problem is solved after adding the encoding. The first one, I am sure my application has the privilege to create file, and the path of the file does exists, just could not create the file. Do you know where is it in the log4cxx source code attempting to create the file?