When working with IBM BPM, it is often extremely useful to examine and watch the logs generated by the Process Center or Process Server instances. These are written as text files that are appended to by the system as it executes. There are a number of useful tools on the Internet that allow one to examine these logs but, of course, these are distinct applications. Embedded within BPM Explorer is a tab called “Logs” that allows one to select one or more log files and have them automatically followed as new content is added.
The following shows an example of viewing the “Logs” tab:
Within this page we see a button called “Open Log”. Which clicked, we can then select a log file for watching. We can open multiple log files simultaneously. If we no longer wish to follow a log, we can close its associated tab.
The “Hilighting” button opens a dialog within which we can choose multiple hilights to be applied to the content of the file:
We can add new hilights, update existing entries or delete entries. We can select the foreground, background and bold nature of the text. The pattern is a regular expression that will be applied to the lines and those that match will be hilighted as described.
The “Reload” button will force a reload of the file from the file system.
The “Clear” button will clear the contents of the log (but not the contents of the underlying file).
The “Follow” check box is used to disable the following of content as it is added. If unchecked, new content detected will not cause the scrolling into view of the tables for that content. This is useful if you are reading content and new content should arrive. If the checkbox is selected, the screen would scroll to the arrival of the new content perhaps taking you away from what you were currently reading.
Within the primary view of lines in the logs, one or more lines can be selected and copied into the system clipboard for pasting elsewhere.
BPM Explorer can save the current settings Logs such that when the program is restarted, the settings will be restored. To save the settings, visit the settings page for Logs and click OK:
A tutorial video illustrating the usage of the function can be found here: