Using Web Administration
You can use the steps listed here to modify DB2® log settings.
Procedure
- Expand Server administration in the navigation area, click Logs, click Modify log settings, click DB2 log.
- Enter the path and file name for the DB2 log. Ensure that the path is valid.If the file
does not exist, it is created. The error log can also be directed to something other than a file,
for example, a line
printer.Note:
If you specify a file that is not an acceptable file name (for example, invalid syntax or if
the server does not have the rights to create and/or modify the file), the attempt fails with the
following error:
LDAP Server is unwilling to perform the operation. - Under Log size threshold (MB) select the first radio button and enter the maximum log size in Megabytes. If you do not want to limit log size, select the Unlimited radio button instead.
- Under Maximum log archives, select one of the following
options:
- If you want to specify a maximum number of archived logs, select the radio button with an edit window next to it. Enter the maximum number of archives you want to save. One archived log is an earlier log that reached its size threshold.
- If you do not want to archive logs, select No archives.
- If you do not want to limit the number of archived logs, select Unlimited.
- Under Log archive path, do one of the following
steps:
- If you want to specify the path where archives are kept, select the radio button with an edit window next to it and enter the required path.
- If you want to keep the archives in the directory where the log file is located, select the Same directory as log file radio button.
- Under Log Schedule, do the following steps:
- Specify the frequency between two cycles of Event by selecting an item from the Select frequency check box.
- Specify the start date and start time for Event in the Starting on fields. You can also click the calendar icon to specify the start date. The start time should be in the following format: 12:30:00 PM.
- Click Apply to apply your changes and continue working with logs, or click OK to save your changes and to return to the IBM® Security Verify Directory Web Administration Introduction panel. Click Cancel to return to the IBM Security Directory Server Web Administration Introduction panel without saving any changes.