Intentional logging for PolicyCenter

In the base configuration, PolicyCenter provides the following defaults for intentional logging.
Area Usage
Submission Logging of important steps in the policy submission process
Quoting Logging of the beginning and end of each step in the quoting process
Two-step quoting Logging of the beginning and end of each step in the quoting process
Rating Logging of the beginning and end of each step in the rating process
Work queue Logging of the state of the process at various steps
Integration between InsuranceSuite applications Logging of the response times between the two applications

Logging of PolicyCenter work queues

PolicyCenter provides intentional logging of the following steps in a work queue process.
Work queue activity Logging
Number of active workers PolicyCenter monitors the number of active workers for each application instance. Whenever PolicyCenter is ready to being work queue process, the WorkQueueExecutor creates new workers. A worker continues to exist until there is no more work to perform. PolicyCenter logs the number of active workers at the following points in the process:
  • At the moment the Executor adds a new worker
  • At the moment a worker completes its work
PolicyCenter places the log information in WorkQueueExecutor. To retrieve the current number of active workers, your code must retrieve the newest log information from the Executor and read the desired value from the log information.
Average processing time PolicyCenter logs the average item processing time whenever a worker finishes processing a batch of work items.
Number of processed items Whenever a worker finishes processing a batch of work items, PolicyCenter logs the number of work items that were processed successfully.
Number of written items PolicyCenter logs the amount of newly inserted items whenever a process finishes its work. However, be aware that not all work queues have their work items written into the database. As a result of this, there are work queues that do not log this information. The AddressDeleteWorkQueue work queue is an example of a work queue that does not log the amount of newly inserted items.
Failed work items PolicyCenter logs all failed work items.
Errors PolicyCenter logs information whenever an error occurs during execution of a work queue process.
PolicyCenter does not automatically log the following types of work queue information.
Work queue activity Logging
Number of work items waiting in queue PolicyCenter does not log this information directly. However, it is possible to derive this information in an external aggregator using the cumulative sums of written and processed items.
Forecast of processing time PolicyCenter does not log this information directly. However, it is possible to create an estimation in an external aggregator using the provided logging data.

For all intentional logging data, remember that PolicyCenter collects the data for each application instance individually. Thus, to obtain a complete picture of the data, you need to explicitly aggregate the data using the server ID included in the logs.