Preparing for logging
Content services containers provide logging and monitoring capabilities for troubleshooting, performance monitoring, and capacity planning based on monitoring data in real production environments.
About this task
To simplify the enablement of these capabilities, the logging and monitoring components are built into each container product image. You can start using monitoring and logging capabilities very easily by providing a few required environment variables and volumes.
With the logging capability, you can ingest the system log, the Liberty log, and product logs into the back-end logging service that you choose.
This information helps you to create and collect the settings you need to enable the containers' logging capabilities at deployment time.
When you prepare your environment, record the settings so that these values are available to enter into the custom resource YAML file for deployment and configuration. For lists of the parameters that you need to collect, see Configuration reference.
Procedure
To configure logging for the container deployment:
- Ensure that you have an installation of a logging service to receive logs from the containers.
- Ensure that you have services configured to search, view, and filter logs.
-
Compile the values for your logging system.
You specify these values in the custom resource YAML file for operator deployment.