Finding useful information in log files
The various log files contain useful information and error messages to help you troubleshoot your solution.
Errors that occur in Insight Designer are logged in the Eclipse error log. You can also analyze the Liberty server trace.log and messages.log files to find out why errors occurred and to determine whether event processing, connectivity, persistence, and aggregation are working as expected.
Finding information about the run time
For information about the run time, open and search the Liberty server log file, trace.log. The following table lists some key search phrases that can help you locate specific information in the server error log file.
| String to search for | Gives information about |
|---|---|
| received event_name | ID, time stamp, and other attributes of an incoming event. |
| begin processing | Agent processing activity. |
| retrieved entity | Class name, ID, and other attributes of a bound entity, |
| rule rule_name execution started | Name of the fired rule, rule processing, and output. |
When an exception error occurs during runtime processing, a First Failure Data Capture (FFDC) record is created. Look for files that include ffdc* in the file name in the logs folder under the server directory. For example: <WLP_USER_DIR>/servers/cisDev/logs/ffdc_14.11.19_13.33.20.0.log.
Finding information about integration
<logging traceSpecification = "com.ibm.ia.scoring*=fine" />
<logging traceSpecification = "com.ibm.ia.connectivity.inbound*=fine" />
In
the resulting log file, search for key phrases to locate information about incoming events, as shown
in the following table.| String to search for | Gives information about |
|---|---|
| XML message received | The arrival of an original XML event. |
| Classifier match for transformation | Matched event types. |
| XML message discarded | A message that came into the server but was discarded because the classifier did not match the monitored event types. |
| Discarding a message received by the endpoint | Message that was transformed but not recognized or processed by Insight Server. |
Finding information about aggregates
When global and entity aggregates are included in a solution project, the log files include information about the type of aggregates that are active. For entity aggregates, the log file includes statistics about aggregation activity for each job run. To retain the most detailed log information, set the logging level for the aggregates to fine. Search the log files for the key phrase Entity Query Job to locate job statistics information.
Finding information about persistence
<logging traceSpecification = "com.ibm.ia.persistence*=fine" />
Look
in the trace.log file, the console.log file, and the
messages.log file for information about persistence errors.Finding information about missing packages
00000026 org.apache.aries.blueprint.container.BlueprintContainerImpl E Unable to start blueprint container for bundle
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to instantiate components
Caused by: java.lang.NoClassDefFoundError: <package>.
Import-Package: javax.naming