How to set application logging properties
"ruperty" <[email protected]> Thu, 06 Jul 2017 09:44:07 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
In development (for a NPA) to get the java logging to appear in the Application Log I set jvm args with > -J-Dnetbeans.logger.console=true -J-ea This also displays in the IDE console and writes log messages to a file at build\testuserdir\var\log\messages.log. (What is -J-ea?) But the format and filtering is not as I want. How can the properties of these log messages be configured? I have tried my own properties file with > -J-Djava.util.logging.config.file=logging.properties but this stops the application console messages, and writes just to my new file location, and the IDE console. Also how do I get the settings migrated within the install build so that log messages are enabled for the deployed application? Regards, Rupert