Font size:      

j4copy Configuration

Logging

Logging is fully based on JRE standard logging system, and is set up through file <J4COPY_HOME>/conf/logging.properties. This file defines in which directory log files should be written, as described in the following section of the file:

        # File output description.
        # WARNING: following pattern should be updated with path to log directory
        # For Windows, use "\\" or "/" as separator
        java.util.logging.FileHandler.pattern = /java.dev/j4copy/dist/log/j4copy%u_%g.log
        java.util.logging.FileHandler.limit = 100000
        java.util.logging.FileHandler.count = 10
        java.util.logging.FileHandler.formatter = org.sko.j4copy.LogFormatter
      

One can modify these lines in order to change default logging behavior (please refer to JRE documentation for details on logging configuration).

Internationalization

j4copy uses a Java standard properties file to get its messages. This file is messages.properties by default (located in jar file). Standard Java localization apply: for instance, if your locale is configured to be French, messages_fr.properties will be used (French translation is provided as an example of this feature, contributions for other languages are welcome and will be integrated into standard distribution).

Application parameters

j4copy has very few application parameters (most of needed configuration is in XML files). These parameters are set in file <J4COPY_HOME>/conf/params.properties. In most cases, default values for parameters should be OK.