Class LogUtil

java.lang.Object
org.openremote.container.util.LogUtil

public class LogUtil extends Object
If system property java.util.logging.config.file or java.util.logging.config.file has been set then the normal LogManager.readConfiguration() will be used, otherwise try to load the logging configuration specified in environment variable OR_LOGGING_CONFIG_FILE as a file. If this wasn't set, try to find the file /deployment/manager/logging.properties. If this also wasn't found, load the given default logging configuration from the classpath (logging-dev.properties when OR_DEV_MODE=true otherwise logging.properties).

This method should be called in a static { ... } block in the "first" class of your application (typically where your main() method is located).