There's also http://plugins.netbeans.org/plugin/20356/jlogman
It runs on NB-11.0 or later. (it's in the process of being made
available on maven and should end up in the new plugin portal soon).
You can see its docs via raelity.com/jlogman
-ernie
On 6/20/2020 9:48 AM, Jerome Lelasseux wrote:
I need to change the logging level of some files during unit tests (NB
11.3).
According to this wiki page
http://wiki.netbeans.org/DevRunningTestsPlatformApp it's possible to
add command line parameters for unit tests using the "test.run.args"
property.
But when I add "test.run.args=-J-DMyLogger.level=200"
inmodule/nbproject/project.properties, the unit test fails:
Unrecognized option: -J-DMyLogger.level=200
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Is there another way to do it ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists