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? Thanks ---- config file used
------------------------------ log4j.rootLogger=debug,
stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern to output the
caller's file name and line number. log4j.appender.stdout.layout.ConversionPattern=%5p
[%t] (%F:%L) - %m%n ---------------------------------------------------------------- Error 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: 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? |
- Re: problem running a test programming on linux Raymond Lau
- Re: problem running a test programming on linux Curt Arnold