Hi,
please define LOG4CXX_STATIC in your project settings for the C/C++ options.
Best Regards,
Grzegorz
[EMAIL PROTECTED] wrote:
Hi all, i'm using for the first time this logging library and i have a
link problem :
i'm using VC++ 6.0.
this is the code i'm using:
#include "log4cxx/logger.h"
#inclu
I tried now the last version which worked under windows (31.3.)
It seems that the roling file appender is not working.
Is there a way around this?
Or at least a way to specify a maximum file size in a normal appender?
best regards
ML
I have a strange problem with the logging using log4cxx 0.9.7 under Fedora.
When I use static text, i.e. LOG4CXX_INFO(iLogger, "message"); it works
like I would expect. But if I instead use the stream like
::log4cxx::StringBuffer oss;
oss << "The number is " << v;
LOG4CXX_INFO(iLogger, oss.str());
I'm sorry i still got a link problem:
i've put LOG4CXX_STATIC in my preprocessor definitions under the C/C++
options but i get more errors. Without this setting i obtained 3
unresolved externals, now i got 9.
Maybe i'm forgetting something? Do i have to put somewhere library
log4cxxS.lib (stati
Hi
I have no idea what’s the problem in the
following small program. I tried to use a SMTPAppender.
Anyone a tip? Thanks a lot !!
/* Cpp Test Code */
LoggerPtr logger2 = Logger::getRootLogger();
DOMConfigurator::configure("*.xml");
logger2->warn("warn message