You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by King Solo <ki...@gmail.com> on 2013/08/20 08:40:04 UTC

ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger

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

Re: ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger

Posted by Roland <wg...@ids.de>.
http://apache-logging.6191.n7.nabble.com/Discussion-about-correct-initialization-of-log4j2-in-OSGi-context-td39733.html



--
View this message in context: http://apache-logging.6191.n7.nabble.com/ERROR-StatusLogger-Unable-to-locate-a-logging-implementation-using-SimpleLogger-tp39952p39955.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org