Modify Transact log locations

Follow the procedures in this section to modify the Transact log locations. The corresponding logs folder must be created at the appropriate path before starting the server. Proper permission must be assigned to the logs folder (Full Control recommended).

Application logs

The Application logs are located in the Ephesoft\Application\logs folder. Edit the log4j.properties file located in <Transact Folder>\Ephesoft\Application\log4j.xml folder.

Replace the ${dcma.home} values with the desired path to where you want the application logs to generate as shown:

<!-- Defines the custom Appender class. -->
<appender name="CORE"
    class="com.ephesoft.dcma.util.logger.EphesoftFileAppender">
    <param name="File" value="${dcma.home}/logs/dcma-all.log" />
    <param name="Append" value="true" />
    <param name="MaxFileSize" value="2MB" />
    <param name="MaxBackupIndex" value="30" />
    <layout class="org.apache.log4j.PatternLayout">

JavaAppServer logs

JavaAppServer logs are located at <Transact Folder>\Ephesoft\JavaAppServer\logs folder.

Tomcat logs

Before changing the path for Tomcat logs, make a backup of the logging properties or XML configuration files. Edit the log4j.properties file located in the file located in <Transact Folder>\Ephesoft\JavaAppServer\lib\log4j.properties folder. Replace ${catalina.base} values with the desired path to where you want the Tomcat logs to generate as in this example:

log4j.appender.CATALINA.File=${catalina.base}/logs/catalina.log

Catalina logs

To change Catalina logs, run EphesoftEnterprise.exe as an Administrator. The file is located in <Transact Folder>\Ephesoft\JavaAppServer\bin.

Click the Logging tab and specify the path for Catalina logs in the Log path field.