Applies to:
Use the LogCollector user interface to collect log files and diagnostic data from the IBM OpenPages® environment and from OpenPages databases.
If you prefer to enable trace logging that uses the
auroralogging.properties file, see Enable trace
logging.
LogCollector gathers log files into a .zip file that you can download. When your
application servers are clustered, a .zip file is available for each application
server.
LogCollector doesn't collect Cognos logs or global search logs.
Important: You can disallow access to the LogCollector UI by removing the
menu item. To remove the menu item, set to false.
This video demonstrates how to collect log files and diagnostic data:
Before you begin
The menu item is visible only to the following users:
- Super Administrators
- Administrators who have the
All/SOX/Administration/Logs application permission
and access to the LogCollector Documents folder. For more
information about assigning access control to folders, see Managing system
files and folders.
Procedure
- Click .
-
Click Launch.
The Launch Log
Collector panel is displayed.
-
If you want to collect log files, set Log Files to
True.
-
If you want to gather database diagnostics, set Database
Diagnostics to True.
-
Click Add.
When the Log Collector has gathered the logs, a .zip file that contains the logs
is displayed. You can download and decompress this file to view its contents.
- Optional: If you want to take a snapshot of diagnostic data to troubleshoot
database issues, click System tracing options.
- Click Capture to take a capture of the diagnostic data as a
baseline.
- After the capture completes successfully, perform the action that demonstrates the
functional or performance issue.
- Return to the Logs tab and click System tracing
options.
- Click Capture to take a capture of the diagnostic data after
the issue occurs.
- After the capture completes successfully, click Cancel.
- Run the LogCollector as you did in steps 2 to 5.
The .zip file will contain the diagnostic data before and
after the issue occurred for comparison.
- 9.1.2 and later If you want to change the
logging format, click System tracing options. Select an option from the
Logging format drop-down list. Tabular is the default
format, but you can also choose CSV or
JSON.
- 9.1.2 and later If you want to create a custom
logger appender, click System tracing options. Complete the following steps
and repeat for as many custom logger appender items that you want to create.
- For Custom logger appender, click
Add.
- Enter a Logger appender name. This name must not contain spaces
and special characters.
- Enable the logger appender for it to be added.
- Enter the Logger package. The logger package should follow the
com.<mycompany> format.
- Enter a numeric value for the Log size (MB). The value must be
within 1 and 100.
- Enter a Log max count between the values 1 and
20.
- Click Create to add your custom logger appender
item.
- Required: 9.1.2 and later To change
the maximum log file size and the maximum number of backup of logs, click System tracing
options. If you prefer to change the maximum file size in the
auroralogging.properties file, see Changing the size and number of backups of the aurora log file.
- Enter a numeric value for the Log size (MB). The value must be
within 1 and 100. The default log size and unit is 10 MB.
- Enter a Log max count between the values 1 and 20. The default
is 20.
- Optional: If you want to enable tracing logs, click
System tracing options.
- Enable the tracing activities that you need by setting them to
On.
- Click Save.
The next time that you launch LogCollector, the .zip file
will contain the trace logs.