Viewing logs
You can view logs from the
page.Before you begin
About this task
- Performs an activity that is granted by a security permission, such as creating a component, or
creating an application. These activities include permissions granted by the server
configuration security type, such as managing plug-ins, system properties, and statuses.
Permissions are based on the team roles that are assigned to the user.Note: The audit log shows the installation, upgrade, and deletion of plug-ins as well.
- Modifies security settings, such as creating a role, or assigning a user to a role.
- Performs an authentication activity, such as logging on to the Web UI, or accessing the REST API.
You can view audit logs, diagnostic logs, and server output logs.
Procedure
-
To view the audit log, log in as an administrator and click
.To filter the log, type in the fields at the top of each column. For example, to view the admin user's activities, select admin in the User Name filter field.
To show only actions in which an element was created, specify CREATE in the Event Type filter field.
To remove old entries from the audit log, click Cleanup Log, specify the date and time, and click Submit. All log entries prior to that date and time are permanently deleted. Deleting audit logs creates a log entry of event type Audit Log Cleanup that are non-deletable.
Note: The activities of the built-in administrator user (with the user name admin) generate entries in the Audit Log page. - To view the diagnostic logs,
- REST Call Log
- This log shows all the requests that the server receives, including requests from the web interface, the REST API, and the command-line client. You can filter this table by typing values in the fields at the top and then pressing Enter.
- Metadata Indexing
- This page shows the state of the server indexes, which store information about elements such as components and processes. If indexing is not complete, you might not be able to use certain filters or to open certain processes. Indexing happens after certain server upgrades.
- Java Thread Dumps
- On this page, you can export information about the current state of all Java™ threads on the server.
To download a Diagnostics Bundle zip file that contains the above diagnostics information, click Download Diagnostics Bundle from the Diagnostics page.
You can also get detailed logs for processes, including the all of the information and logs from each step. To download these logs, open the process request, and click Download All Logs.
. The tabs on this page show diagnostic information: - To open the server output log file directly from UI, click
The HCL™ Launch server log file is normally found in the following location: server_installation_directory/var/log/deployserver.out.
The information that is written to the log file is determined by the settings in the log4j.properties file. This file is found at app_data/conf/server/log4j.properties. You can edit the file directly, or you can open it in the server by clicking .
. In an HA cluster, logs of all servers are downloaded in a zip format.