Configuring the Dynamic Logging Functionality

Applies to: All versions of Ephesoft Transact

The following steps describe how to use the dynamic logging feature in Ephesoft Transact. These steps vary by version:

  • Ephesoft Transact 4.5.0.0 and above
  • Ephesoft Transact prior to 4.5.0.0

Ephesoft Transact 4.5.0.0 and Above

  1. Open the JConsole utility, located at [Ephesoft_Directory]\Dependencies\jdk\bin.
  2. Select Remote Process.

  1. In the text field, enter “<ServerIP>:8900”. For example, if your server IP address is 172.19.128.92, enter “172.19.128.92:8900”.
  2. Click Connect.

Once you have successfully connected to the Ephesoft JMX port, the following window will appear:

  1. Select the MBeans tab.
  2. In the left-tree, go to org.apache.logging.log4j2 > /dcma > Loggers.

  1. To get the current log level for a logger, expand the corresponding logger node, and select Attributes. In the Level field, the current logging level is displayed.

  1. To set the log level for a logger, click the level Value to edit the entry and hit ENTER to save your changes.

Note: Alternatively, you can expand the Attributes node and set the logging level from the Level section.

Ephesoft Transact prior to 4.5.0.0

  1. Open the JConsole utility, located at [Ephesoft_Directory]\Dependencies\jdk\bin.
  2. Select Remote Process.

  1. In the text field, enter “<ServerIP>:8900”. For example, if your server IP address is 172.19.128.92, enter “172.19.128.92:8900”.
  2. Click Connect.

Once you have successfully connected to the Ephesoft JMX port, the following window will appear:

  1. Select the MBeans tab.
  2. Expand the Ephesoft tree node.

  1. Go to logging > config > Attributes > loggers. This displays all the loggers available in Ephesoft Transact.
  2. To view or set the logging level for a specific logger, go to logging > config > Operations.

  1. To retrieve the log level:
    1. Enter the logger name in the text box.
    2. Click getLogLevel.
    3. A popup will appear with the log level information..

  1. To set the log level:
    1. Enter the logger name in the p0 field and the log level in the p1 field.
    2. Click setLogLevel.
    3. A popup will appear with the message “Method successfully invoked”.