Right. "openjpa.loglevel=WARN" is just converted to "- Dopenjpa.Log=DefaultLevel=WARN".

It'd be nice if you could just specify the latter from the console, but unfortunately surefire doesn't propagate system properties through to the forked Surefire test runner, so we need to special- case each property we want to pass through to the test cases.




On Feb 1, 2007, at 2:33 PM, Patrick Linskey wrote:

Running mvn "-Dopenjpa.Log=openjpa ( DefaultLevel=WARN )" -
Dopenjpa.loglevel=WARN install
seems to work to set the level in the two different maven tasks,
although I'm confused why there are two different properties used to
control the log messages.

Any ideas?

The -Dopenjpa.loglevel is a maven thing that Marc put in place for the
purposes of the test framework. It is ignored by OpenJPA itself.

-Patrick
______________________________________________________________________ _ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to