Get the log, trace, and console files to monitor and diagnose
problems with operators that are not behaving as expected. To quickly
find issues, use the regular expression filter in the Console view
or use the Eclipse search function to search these files for specific
terms.
Procedure
- In the Instance Graph view, right-click an operator and
select any of the Show Log options.
If the application has user-defined parallelism, you
can use Streams Studio to
show log data on logical or physical operators. If you choose a logical
operator, you get information about all the channels in the physical
view of the application. If you choose a physical operator, you get
only the information from that specific channel.
Streams Studio retrieves
the log, trace, or console data and saves it in the StreamsStudioLogs Eclipse
project.
- After you download the log and trace data:
- You can search for specific strings or error messages in these
files to determine why the operator is unhealthy.
- You can create a working set to limit your search to a specific
set of files.
- You can open the log files in the Console view.
Tip: The Show Log Console, Show
PE Trace, and Show PE Log options
likely include entries for many operators. Use the filter in the Console
view to see only those entries that are related to the operator. Clear
the filter or change the filter to view all or other operator entries
in the same file.