WebFOCUS Online Help > ReportCaster Development and Administration > ReportCaster Console > Using the Log Option to View Information About a Distributed Job
In this section: |
The Log option on the ReportCaster Console allows you to access Information about the date, time, execution status, and recipients of a distributed job. This information includes whether or not the job executed successfully, when the scheduled output was distributed, in what format the distributed output was sent, and the method of distribution. Log reports are stylized HTML format and display in a separate browser window. You can search, print, or save the log report.
Tip: You should periodically view a log report to confirm that scheduled jobs ran and were successfully distributed. You should also periodically purge the log file to conserve space.
The Log menu option is used to generate a list of schedules based on criteria you specify. The resulting list can then be used to:
To generate a list of schedules for a log report:
A list of schedules for the selected owner(s) appears, as shown in the following image.
The schedule list interface contains icons that allow you to:
Once you have generated a list of schedules for a log report, perform the following steps to view a log report for a selected schedule.
Note: To select multiple schedules, use the Shift key and Control (Ctrl) key, as in a standard Windows interface.
The ReportCaster - View Log Selection Criteria dialog box opens with the Selected Schedule check box active and checked, as shown in the following image.
To switch from the item(s) you selected to viewing all schedules in the list, uncheck the Selected Schedule check box. If you want to change your selection criteria, click Cancel and reselect a schedule from the list.
To view a log report for all schedules:
Click the Log icon without selecting a schedule. The ReportCaster - View Log Selection Criteria dialog box opens with the Selected Schedule check box inactive and unchecked, as shown in the following image.
If you want to change your selection criteria, click Cancel and reselect a schedule from the list.
If you have selected the Date Executed option, proceed to Step 3. Otherwise, proceed to Step 5.
The log report displays information according to your specifications in a separate browser window. One log record is produced for each scheduled job run in the specified time frame. The following image provides an example of a typical log report.
If you chose to view log reports for multiple schedules, the Job Process Log Report contains a log record for each schedule you selected. The following images shows an example of a log report for multiple schedules.
The log report first lists the job description for the record, which is the unique description identifier that you specified when you created the schedule. Underneath the Job Description, the left column of the log report includes the following information:
In the second column, the log report specifies messages consisting of the following:
Values from &ECHO variables and -TYPE commands in WebFOCUS procedures appear in log reports. The &ECHO variable displays command lines as they execute in order to test and debug procedures. The -TYPE command enables you to comment and evaluate your code for informational and debugging purposes.
The following procedure contains an &ECHO variable and a -TYPE command.
-SET &ECHO=ALL; -TYPE Country Sales and Growth -TYPE Parameter RATE is passed into report to forecast potential sales growth TABLE FILE CAR HEADING "Sales Growth Forecast using Rate: &RATE " SUM SALES AS 'Sales' COMPUTE GROWTH/D12.2 = (SALES * &RATE) + SALES; AS 'Sales, Forecast' BY COUNTRY AS 'Country' END
When this procedure is scheduled using ReportCaster, it will produce a log report similar to the following.
Note: For more information about &ECHO variables, see Testing and Debugging a Dialogue Manager Procedure in the Developing Reporting Applications manual.
When viewing a log report, be aware of the following considerations.
E-mail Addresses:
ReportCaster cannot validate e-mail addresses since e-mail validation is performed by the mail server. The log report will include any e-mail addresses validated by the mail server and returned to ReportCaster.
Burst Reports:
Burst Value: value is not in the database.
FILE filename SUCCESSFULLY DISTRIBUTED TO destination FOR burst value.
Unavailable Options:
When schedules with unavailable Task Types and distribution methods are not permitted to run, error notification is triggered and information is included in full and brief notifications and in the log report that your ReportCaster Administrator or the owner of the schedule must change the unavailable Task Types and distribution methods in the schedule.
When schedules with unavailable Task Types and distribution methods are permitted to run, normal job execution occurs and a message appears in the log report indicating that your ReportCaster Administrator is allowing existing schedules using the unavailable Task Types and distribution methods to run.
The log file accumulates information and can become difficult to navigate. Information Builders recommends that you periodically purge log records to conserve space.
As a ReportCaster Administrator, you can use the Log Purge Period and Log Purge Time settings in the ReportCaster Server Configuration tool to automatically purge log reports when they are older than a set number of days. For more information about how to configure these settings, see General Configuration Settings.
You may also manually purge the log file. Once you have generated a list of schedules for a log report using the Schedule Log Selection Criteria dialog box (see How to Generate a List of Schedules for a Log Report), you can perform one of the following:
To specify a date range during which you want to purge the log file for the selected schedule(s), check the Delete Items through check box. This activates the date fields.
Note: To switch from purging the log file for the selected schedule to purging the log file for all schedules in the list, uncheck the Selected Schedule check box.
Note: When you access the log option from the console, if you purge all schedules belonging to a user, the user will not appear in the list of users the next time you access the log in this manner. As a workaround, access the log option using the Schedule Log link. The user appears among the list of users who own schedules.
Click OK to process the request and refresh the list of schedules for the selected owner, or click Cancel to return to the list of schedules.
WebFOCUS |