logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From King Solo <kingwang2...@gmail.com>
Subject ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger
Date Tue, 20 Aug 2013 06:40:04 GMT
Hi my friends,



I have problem to make the logging work with the log4j2.xml  when packing
into jar file.



I have launcher.jar which calls oamcli.jar(has logging implementation and
log is working in eclipse)



How ever when I try to run :



java -Dlog4j.configurationFile=path\to\log4j2.xml  -cp  "launcher.jar;
lib\*" .....



I got a "ERROR StatusLogger Unable to locate a logging implementation,
using SimpleLogger"



Please give me some advice and where to look for the answer.



Thanks!



BR//Wei

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message