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:
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
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
%JBOSS_HOME%/server/default/conf/logging.properties
or
/var/dme/instances/base/conf/logging.properties
Log messages from the use of DME File Browser are now piped into the Log tab of the DME server.