Use this procedure to set the Marketing Platform home directory in a Java parameter that points to the location where the logs are generated.
Procedure
-
Use the following command to specify the Java parameter in the WebSphere administration console.
-DUNICA_PLATFORM_HOME=path_where_log_files_are_placed
For example: UNICA_PLATFORM_HOME=/opt/Platform
-
Create the following directories at the location you specified above: conf and logs
-
Provide the write permission to the logs directory.
-
Copy the log4j.properties file to the conf directory.
The log4j.properties is located in the conf directory under the Marketing Platform installation directory.
-
Replicate the Marketing Platform installation directory structure on all nodes of the cluster, as follows.
-
Create a same directory structure on each node as far as the PLATFORM_HOME/Platform/conf directory.
-
Create the logs directory in the PLATFORM_HOME/Platform directory, and provide write permission to the logs directory.
-
Copy the log4j.properties file in the conf directory.
-
Restart the cluster.