Specify Location of Log4j Properties File

B

Brett Sheeran

Hi there. Can anyone tell me how to specify the location of the log4j
properties file other that doing this:

set
CATALINA_OPTS=-Dlog4j.configuration=file:%CATALINA_HOME%\conf\animal_logging
..lcf

I would like to enable log4j with junit tests being run from JBuilder. I
tried adding the following line to the VM parameters but to no avail:

-Dlog4j.configuration="e:\projects\st-lincoln\logging.lcf"

Thanks

Regards Brett Sheeran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top