logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Lau" <r...@valicore.com>
Subject problem running a test programming on linux
Date Thu, 12 May 2005 23:29:17 GMT
I tried to run a test program on linux, but got the following error.

Does anyone have an idea what I might have forgotten to set up?




---- config file used ------------------------------

log4j.rootLogger=debug, stdout



# Pattern to output the caller's file name and line number.

log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n




Could not instantiate class [org.apache.log4j.ConsoleAppender].

Class 'org.apache.log4j.ConsoleAppender' not found Could not instantiate
appender named "stdout".

No appenders could be found for logger (TestLogger).

Please initialize the log4cxx system properly.


From: Raymond Lau [mailto:rlau@valicore.com] 
Sent: Wednesday, May 11, 2005 3:49 PM
To: log4cxx-user@logging.apache.org
Subject: build problem on cygwin running gcc version 3.3.3


When I tried to build log4cxx by just issuing a "make" command after
running configure,


I got the following compilation error:


../include/log4cxx/helpers/tchar.h:51: error: 'swprintf' undeclared
(first use this function)


Does that has to do with g++ and the std library?


View raw message