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

Reply via email to