10.4. Custom logging configuration

If present, a logging configuration will be read and applied from a file called 'logging.properties' in the application configuration directory ('.arbil'). An example of such a configuration is given below.

The logging output (visible in the log console of the Help menu) can be observed from different levels of detail. Such levels are: ALL, FINE, INFO, WARNING, SEVERE. Note that the log console is visible only when the application is installed, i.e. NOT with the webstart version.

        handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
        
        # Default global logging level.
        .level = ALL
        
        ############################################################
        # Handler specific properties.
        # Describes specific configuration info for Handlers.
        ############################################################
        
        # default file output is in user's home directory.
        java.util.logging.FileHandler.pattern = %h/arbil.log
        java.util.logging.FileHandler.level = WARNING
        java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
        
        # Limit the message that are printed on the console to INFO and above.
        java.util.logging.ConsoleHandler.level = FINE
        java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
        
        
        ############################################################
        # Facility specific properties.
        ############################################################
        
        java.level = WARNING
        javax.level = WARNING
        sun.level = WARNING
        
        nl.mpi.arbil.level = FINEST
        nl.mpi.flap.level = FINEST
        nl.mpi.level = FINEST