Logging Preferences
Double-clicking Logging Preferences in the preference list opens the Logging Preferences dialog box.Figure 10.3 Logging Preferences
- Use the following guidelines:
- Logging Services area - Select the logging level for each of the communication protocols. Options include:
- Errors - Consisting of simple error messages.
- Warning - Consisting of warnings in addition to error messages (this is the default option).
- Informational - Consisting of error and warning messages in addition to other information items.
- Debug - Consisting of all information in Errors, Warning, Informational, and additional debugging data that might be useful to WDM developers, sales engineers, and administrators.
- Write Preferences changes to system log - This check box needs to be checked if you want to keep logging level changes in the system log table.
- Auto Archiving Log Services area - Configure the size of the system log table and warning message frequency:
- Maximum Line Count in SystemLog Table - Set the number of records allowed before archiving occurs; valid values are from 500000 to 10000000, the default value is 10000000).
- Number of Log Entries to Truncate - Define the number of records to be archived; valid values depend upon the maximum line count configured; if the maximum line count value is 5000, valid values for log entries to truncate are from 500 to 4999. If the maximum line count is set to 10000000, the valid values for log entries to truncate are from 500 - 999999).
Note: Auto Archiving is the process by which the System Log Table in the WDM Database is automatically archived to prevent performance degradation due to an extremely large number of records. Auto Archive checks the database in two minute intervals, using the criteria provided in Logging Preferences, to determine whether or not an archive is needed. Archives are stored as syslogtable-DD-MM-YYYY.txt in the root directory of WDM. It is your responsibility to manage these files. It is recommended that you delete or move the syslogtable-DD-MM-YYYY.txt files to preserve drive space.
Note: The value for the Number of Log Entries to Truncate is always less than the value for the Maximum Line Count in SystemLog Table.
- Log Archive Warning message on every - Edit the time interval for displaying the circular logging warning message. The default interval is every 5 hours. When the value you set for the Maximum Line Count in SystemLog Table is exceeded, the “Archive Logs” warning message appears. The first time the line count exceeds the configured limit, a warning message appears immediately. If you select OK, the Archive Record window appears. If you select Cancel, you will see the warning again at the next configured warning message interval. (See Figures 86 and 88.)
- Click OK to display the System Log Archive window as appears in the following screen.
Figure 10.4 System Log Archive Window- Use the radio buttons and drop-down menus to select the logs to be archived and the output file format and destination.
- Clicking Logging Details in the Logging Levels tree opens the Logging Details Preferences dialog box.
Figure 10.5 Logging Details Preferences
- Select the details you want to log.
Note: Category Status Changes refers to whether a package changed from one category to another (for example, if you edit the script file for a package and change it from Image to Client Configuration), while Package Status Changes refers to whether a package changes from active to inactive or inactive to active.