Step 14: Defining logging properties for the EBICS Server application (WebLogic)
Important: Before you complete this procedure, refer to the log4j configuration file named bankingserverlogging.properties. This file contains the setting of logging messages generated by the EBICS Server application.
- Prepare a directory. This directory is to be part of the classpath of the WebLogic server. It may already exist, or you need to create a new one. Place the directory in <bea_home>/user_projects/domains/<your_domain>/.
- Example directory (as used in this procedure): loggingconfig.
- Retrieve the file bankingserverlogging.properties from the [EBICS Server installation]/loggingconfig directory.
- Edit bankingserverlogging.propertiesto fit your needs. It contains standard Log4j syntax. Usually, you only need to modify the line that specifies the log file location in order to refer to an existing directory:
- java.util.logging.FileHandler.pattern=
- Store bankingserverlogging.properties in the directory you prepared in step one of this procedure. Do not change the name of this file.
- Edit your WebLogic server start script to include the new directory in the classpath of the server:
- UNIX:
File: <bea_home>/user_projects/domains/<your_domain>/bin/startWebLogic.sh
CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${DOMAIN_HOME}/loggingconfig" - Windows:
File: <bea_home>\user_projects\domains\<your_domain>\bin\startWebLogic.cmd
SET CLASSPATH=%CLASSPATH%;%DOMAIN_HOME%\loggingconfig
Related topics
Installing EBICS Server on WebLogic: general implementation procedure