When operators are unhealthy, log and trace files are usually
the best starting place to help you determine why your job is unhealthy
or why you are not getting the results that you expect.
About this task
Logs contain information that is generated by
IBM®
Streams.
IBM
Streams generates different types of log files. These include trace, log, and console files.
Procedure
Use the following workflow to analyze the log files:
- Get the log files. You can get the log files
for elements that have logs by right-clicking the element, and then
selecting the appropriate options from the menu. The files are downloaded
to the StreamsStudioLogs Eclipse project in your workbench.
- Create a working set. Create a working set for the log
files to restrict the scope of the search to specific directories.
- Use the Eclipse Search function to search for the following
strings:
- error
- exception
- SIGABRT (occurs if there is a crash of a primitive operator)
Note: The search is not case-sensitive.
- Based on the search results, open files to investigate
further.
- To open the file in the Console view, right-click the file and
click Show in Console. This action is useful
if you want to filter the log to see only lines that contain specific
text.
- To open the log file in an Eclipse text editor, double-click the
search results.