Re: Problem logging unicode MFC/ATL CString with LOG4CXX_* macros

2008-04-23 Thread Curt Arnold
On Apr 23, 2008, at 8:12 PM, Jara, Mike SEA wrote: I'm having trouble getting (Windows) MFC or ATL CStrings to log properly, when using the LOG4CXX_* macros. For example, this will log the pointer's hex value, rather than the string contents: CString sMyString(_T("Test CString")); LOG4CXX_DEB

Re: Line by line configuration

2008-04-23 Thread Dale King
You don't need to make a file. You can just read the lines from the database and put them into a helpers::Properties object which is just a map and pass that to PropertyConfigurator::doConfigure. Or you might want to create a DatabaseConfigurator class based off of PropertyConfigurator. On Wed, A

Problem logging unicode MFC/ATL CString with LOG4CXX_* macros

2008-04-23 Thread Jara, Mike SEA
I'm having trouble getting (Windows) MFC or ATL CStrings to log properly, when using the LOG4CXX_* macros. For example, this will log the pointer's hex value, rather than the string contents: CString sMyString(_T("Test CString")); LOG4CXX_DEBUG(MyLogger, sMyString); CString does implement a cast

Line by line configuration

2008-04-23 Thread Thomas Hahn
Hello, I usually end up with the PropertyConfigurator. In the config file I have the usual lines like: log4j.appender.A1=org.apache.log4j.ConsoleAppender ... lots other lines ... and finally: ... log4j.logger.someproggy.part1=INFO What I would like to do is to read the lines from a database and

Re: log4cxx 0.10.0 build on HP Unix build problem

2008-04-23 Thread Curt Arnold
On Apr 23, 2008, at 10:18 AM, Chakravarthula, Krishnamurthy wrote: Experts, I want to build log4cxx on HP Unix 11.11. I am using apr 1.2.12, apr-util 1.2.12. Build apr >./configure >gmake Build apr-util >./configure –with-apr= >gmake I would try installling or building expat (http:/

FW: log4cxx 0.10.0 build on HP Unix build problem

2008-04-23 Thread Chakravarthula, Krishnamurthy
Experts, I want to build log4cxx on HP Unix 11.11. I am using apr 1.2.12, apr-util 1.2.12. Build apr >./configure >gmake Build apr-util >./configure -with-apr= >gmake I am getting following error while building apr-util by "gmake". Any clues? *** Warning: linker pat