Logging AppBox File Browser

In order to get log messages from the AppBox File Browser (see File browser) to appear in the DME server's Log tab, you need to create a logging property file, and configure the server startup configuration files to incorporate that property file. The process depends on whether the DME server is running on Windows or Linux.

Logging property file

The logging property file is called logging.properties. Create a text file with the following content:

com.excitor.level = FINE
dme.level = FINE

Place the text file in the directory specified in the server startup configuration file - see below.

Startup configuration files

In order to enable File Browser logging in DME, do the following:

  1. Open the DME startup configuration file.

    On Windows servers, This file is called wrapper.conf, and is located in the jboss\conf directory of your DME installation, typically

    C:\Program Files\dme\jboss\conf\wrapper.conf

    On Linux, this file is called init.d. It is located in the /var/dme/instances/<instance>/ directory of your DME installation, typically

    /var/dme/instances/base/init.d

  2. Add the pointer to the logging properties file.

    On Windows, insert the following line in the file. Change the number x in wrapper.java.additional.x to a sequential number, if the number is already used elsewhere in the file:

    wrapper.java.additional.x=-Djava.util.logging.config.file=%JBOSS_HOME%/server/default/conf/logging.properties

    Note: The %JBOSS_HOME% variable is set near the top of the startup script file.

    On Linux, add the following line to the file (as a single line):

    JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.config.file="/var/dme/instances/base/conf/logging.properties

  3. Save and close the file.
  4. Copy the logging property file to the location specified in the line you just entered:

    %JBOSS_HOME%/server/default/conf/logging.properties or

    /var/dme/instances/base/conf/logging.properties

  5. Restart the server.

Log messages from the use of DME File Browser are now piped into the Log tab of the DME server.

Next topic

Analyzer