Trace: Configure Logging


Configure Logging

JVx uses standard JDK logging API or log4j.

If you don't use a custom file, the log mechanism won't work as expected because of standard log settings of JRE/JDK:

The default file sets the global level to:

.level= INFO

and also the console log handler level, to:

java.util.logging.ConsoleHandler.level = INFO

f you change the log level of a logger (via About screen), it wouldn't change the log output because JVx doesn't recognize the log handler configuration.

It's best if you use a preconfigured file for your application:

Simply copy the file in your test folder or any other folder in your classpath.

The example file sets the console log handler level to

java.util.logging.ConsoleHandler.level = ALL
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information