Using SoftBench Message Monitor

Logging Messages

Logging Messages

If you are integrating with SoftBench and want to see actual message formats, you can exercise SoftBench tools with SoftBench Message Monitor running. Tools may send several messages for a single action, filling the "Broadcast Message" area quickly. These messages can be saved by logging them to a file.

Specifying a Log File

The log file can be specified by choosing "File: Set Logfile Name…", and specifying a filename in the resulting dialog box.

Starting and Stopping Message Logging

To start message logging

1.Choose "File: Set Logfile Name…", and specify a filename in the resulting dialog box. The default is "$HOME/.softbench/projectname.msglog".

2.Set the "File: Enable Logging" toggle button.

SoftBench Message Monitor logs all messages to the logfile.

To disable message logging, clear the "File: Enable Logging" toggle button. Once disabled, SoftBench Message Monitor closes the logfile. If you enable logging again, SoftBench Message Monitor logs to a new copy of the named file.

Chapter 12

311

Page 311
Image 311
HP UX SoftBench Software manual Logging Messages, Specifying a Log File, Starting and Stopping Message Logging