Maybe just plain -D --emi
On Sat, Jun 20, 2020 at 7:48 PM Jerome Lelasseux <lelass...@yahoo.com.invalid> 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" in > module/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: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists