Configuring Sun Master Indexes

Setting Master Index Debug Options

When you first implement Sun Master Index, you might want to view detailed debug information until you are certain the application is working as required. You can set debug options in the implementation details.

ProcedureTo Set Debug Options

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click midm.xml.

    The file opens in the NetBeans XML editor.

  2. Scroll to the impl-details element, and then to the debug-flag element.

  3. Modify the value of the debug-flag element to indicate whether you want debug information logged.

    For example:


    <debug-flag>true</debug-flag>

    Specify true to log debug information; specify false to turn logging off.

  4. Modify the value of the debug-dest element to indicate where to print debug information.

    For example:


    <debug-dest>console</debug-dest>

    Specify console to log debug information to a monitor; specify file to print to a file.

  5. Save and close the file.