Adeptia Connect logs several types of messages during the execution of a service , (for example, a Process Flow, ) to help you monitor and troubleshoot the application. Message logging is done at four levels: ERROR, NOTICE, INFO, and DEBUG. The NOTICE log level captures the error messages in the production environment, for example, an error message related to the Queue Processor.

...

In Asynchronous logging, the logging happens in a thread that is separate from the service execution thread. This leads to an uninterrupted execution of the service as it does not need to wait for the logging to be completed. An effective logging mechanism depends on two key factors, low latency , and maximum throughput. 

  • Latency: Time taken for performing the action and producing the result. 
  • Throughput: The number of actions executed per unit of time.

Info
Adeptia Connect recommends that you use asynchronous logging to substantially improve the throughput and lower the latency of logging operationin the overall execution of the service.

Benefits and constraints of Asynchronous logging

...

  • In case of an abrupt shutdown, the log messages get lost. Adeptia Connect implements a shutdown hook to ensure that all logs in the queue are logged before bringing the application down.
  • In case of a vast number of messages to be logged, the log may display the messages with a delay and or after the execution of the service.

...

Logging parameters are pre-configured in the application. However, if you want to update the configuration parameters, you can follow the steps below to navigate to the Asynchronous logging properties window and update the properties:

  1. Click Configure > Developer Studio.
  2. Click Proceed.
  3. On the Connect Server home page, click Administer tab.
  4. Go to Setup menu and select the Application Settings option.
  5. Click Update System Properties.
  6. Navigate to Systems > Asynchronous Logging.



    Info
    Setting the abpm.log4j.async.logging.enable property to false changes the logging to be in Synchronous mode. By default, this property is set to true. You can also update the rest of the listed properties based on your requirements.