Configuring Sun Master Indexes

Configuring the MIDM Audit Log Page

When enabled, the audit log stores a history of each instance in which information from the object tables in the master index database is accessed. The MIDM allows you to search for and view the audit log entries. You can enable or disable the audit log, change the display order, and customize the size of the results list. Below is the default Audit Log page definition.


<audit-log>
   <allow-insert>false</allow-insert>
   <root-object>Person</root-object>
   <tab-name>Audit Log</tab-name>
   <screen-id>7</screen-id>
   <display-order>7</display-order>
   <search-pages>
      <simple-search-page>
         <show-euid>true</show-euid>
         <show-lid>true</show-lid>
      </simple-search-page>
   </search-pages>
   <search-result-pages>
      <search-result-list-page>
         <search-result-id>0</search-result-id>
         <item-per-page>10</item-per-page>
         <max-result-size>100</max-result-size>
         <field-group/>
      </search-result-list-page>
   </search-result-pages>
</audit-log>

ProcedureTo Configure the Audit Log Page

  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 audit-log element (located in the gui-definition element).

  3. Make any of the following changes:

    • To specify that records be written to the audit log, change the value of the allow-insert element to true.

    • To specify that records not be written to the audit log, change the value of the allow-insert element to false.

    • To change the name of the Audit Log tab on the MIDM, change the value of the tab-name element.

    • To change the order in which the Audit Log appears on the MIDM, change the value of the display-order parameter to a different integer.


      Note –

      If you change the order of one tab, make sure to change the order of the remaining tabs so no tabs have an identical display order value.


    • To change the number of Audit Log search results that appear on one page, change the value of the item-per-page element.

    • To change the maximum number of audit log records that can be returned for a search, change the value of the max-result-size element.

  4. Save and close the file.