I wrote a standalone Java application that uses
commons logging (because of Axis) and log 4j. I am
using a log4j.properties file. When I run the program
from within the development (Eclipse) environment, the
logging works fine. However, when I run the program
from the command line none of the log messages are
logged. The log4j.propeties file is in the
application's jar file in this case. I have also tried
putting log4j.properties in the folder that I launch
the program from. There is still no logging done.
Next, I tried putting log4j.properties in the lib
folder and I added it to the the class path. Still, no
logging.

To recap, logging is working when I run the program in
the Eclipse environment, but not working when I run
the program from the command line.

Is there some configuration that I am missing?

Thanks,
Bob

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to