bidsi01

CA DLP Tuesday Tip: iConsole debug logging

Discussion created by bidsi01 Employee on Mar 13, 2012
Latest reply on Mar 14, 2012 by Chris_Hackett
CA DLP Tuesday Tip for 13th March 2012 published by Mark Biddle Snr. Support Engineer.

To add the option of a debug log to record the selected search criteria of a search in the iConsole.

Slightly different in different versions:-

In the iConsole of version 12.0:
Select either "Search and view data" or "Manage Stored serches"
Select the required search and click on the 'Spanner' icon to customize the search.
At the top right, select "show hidden parameters"
Scroll down to and expand "Settings"
Select debug log,
Run the search and the output will be available for analysis.

In the iConsole of version 12.5:
Go to administration tab
Select the required saved search.
show the hidden field selector by clicking the "customize" button on the top right.
Add the field $DEBUG(Debug Log:) from the available fields to the selected fields.
check the Debug Log checkbox that now appears on the "Settings" tab.
Run the search and the output will be available for analysis.

In the iConsole of version 14.0:
Go to Administer searches tab
Select the search required which opens the properties window.
Select customize button at the bottom of the properties window.
Add the field $DEBUG(Debug Log:) from the available fields to the selected fields.
check the Debug Log checkbox that now appears on the "Settings" tab.
Run the search and the output will be available for analysis.


Now for the tips:

All version require the right permissions - e.g. if you cant see any customize button, you havent got permissions set to allow you to do this.

The main tip here being that although the debug log is requested by checking a hidden checkbox in the iConsole, the log will appear on the database machine - not on the local iConsole box where it was requested from.

The logs location, by default, is in the DB machines %temp% DIR - obviously this can be reset by an administrator.

The expected name pattern/format of the log is as follows: <Search Name>_<Search version>_<datestamp>_<timestamp>.log
e.g.
Standard_Search_V2_6_20120307_131745.log

It is also worth note that this log can only be picked up manually, as wgncheck is not configured to collect this (It is not a simplistic task and is not on the roadmap to do so).

Outcomes