Introduction
For WebCenter on Marketplace, logs are integrated with OCI Logging as custom logs. To view the logs, navigate to Observability & Management and then to Logging in the OCI console. The log name for the WebCenter stack is <service-name>-log.
List of product types with OCI Logging:
- WebCenter Content
- WebCenter Portal
- WebCenter Forms Recognition
- WebCenter Sites
Configuration of Logs
The user can specify the WebCenter logs that the logging agent needs to collect and send to OCI Logging in the log input in <service-name>-agent-config under Agent Configurations. By default, all the WebCenter logs in /u01/data/domains/logs are collected and pushed to Logging. To turn off the integration, configure the log inputs in the agent configuration to remove all the file paths.
Log Search
Navigate to Search to create custom filters or advanced search queries to filter and view logs. See Documentation about OCI Logging.
For example, to view the logs for a specific server, users can create a custom filter on the log subject with the log file path. In the Log Search, users pass in the field “subject = /u01/data/domains/wcc_domain/servers/AdminServer*” to get all the logs from the Admin Server.
Note: The retention duration for WebCenter logs by default is 30 days. To edit the retention duration for the logs, edit the log under Logs, <service-name>-<product-type>-log and in the additional settings, you can specify the retention duration up to 180 days.
For more information about Log Search, see OCI documentation.
Integrating Oracle WebCenter Logs with OCI Logging
F99190-02
Last updated: July 2024
Copyright © 2024, Oracle and/or its affiliates.
Primary Author: Oracle Corporation