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
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
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
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
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:/
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