--Configure logging
1 post
• Page 1 of 1
--Configure logging
This article is outdated - please use our new system at
https://doc.sibvisions.com
JVx uses standard JDK logging API or log4j.
If you don't use a custom logging.properties file, the log mechanism won't work as expected because of standard log settings of JRE/JDK:
The default logging.properties file sets the global level to:
- Code: Select all
.level= INFO
and also the console log handler level, to:
- Code: Select all
java.util.logging.ConsoleHandler.level = INFO
If 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
- Code: Select all
java.util.logging.ConsoleHandler.level = ALL
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
1 post
• Page 1 of 1