Configuring logging
- Last Updated: March 21, 2025
- 3 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
The method for configuring logs differs, depending on the type of Hybrid Data Pipeline deployment. See the following sections for details.
Note: The location of data source logs is determined by the
hdpLoggingDir property in the update.properties
file. However, data source logging levels are configured separately. For information on
configuring data source logging levels, refer to Data source logging in the Hybrid Data
Pipeline User's Guide.Configuring logging for Docker deployments
Take the following steps before executing the docker run command.
Note: For complete instructions on deploying Hybrid Data Pipeline as a
Docker container, see Deploying Hybrid Data Pipeline using Docker.
- Obtain the
hdplogging.propertiesfile. This file is included in the Docker image product package.Note: The hdplogging.properties file is located in the deployment package directory package_dir/hdp-docker-deploy/hdp, where package_dir is the directory into which you unzipped the contents of the deployment package. - Optional. Specify the log location with the
hdpLoggingDirproperty. For example:hdpLoggingDir=USER_HOME/common/shared/hdp/logsNote: If you do not specify a location, the logs are stored in the default location local to the node, which ishdp_install_dir/ddcloud/logs. In the hdplogging.properties file, the default location is specified ashdpLoggingDir=ddcloud-home/logswhereddcloud-homeindicates theddclouddirectory in the Hybrid Data Pipeline installation directory. - Optional. Configure the logging levels for the Web UI, the data access service, the notification server, and the Apache Tomcat server. See Logging levels for details.
- Copy the
hdplogging.propertiesfile to the shared file location on the local file system.Note: The hdplogging.properties file contains comments that provide detailed guidance on how to update the properties. - Execute the
docker runcommand. - Review the log location to confirm that the directories have been created and log files are being written to this location.
Configuring logging for Linux installations
To configure the log location and set logging levels using the
hdplogging.properties file, take the following steps.
- Navigate to the
keystoredirectory specified during installation.Note: Thehdplogging.propertiesfile is located in thekeystoredirectory for Linux installations. For load balancer installations, thekeystoredirectory is shared by all the nodes. For non-load balancer installations, the file path isinstall_dir/ddcloud/keystore. - Specify the log location with the
hdpLoggingDirproperty in thehdplogging.propertiesfile. For example:hdpLoggingDir =/USER_HOME/common/shared/logsNote: If you do not specify a location, the logs are stored in the default location local to the node, which ishdp_install_dir/ddcloud/logs. In the hdplogging.properties file, the default location is specified ashdpLoggingDir=ddcloud-home/logswhereddcloud-homeindicates theddclouddirectory in the Hybrid Data Pipeline installation directory. - Optional. Configure the logging levels for the Web UI, the data access service, the notification server, and the Apache Tomcat server. See Logging levels for details.
- Restart the Hybrid Data Pipeline service. For cluster deployments,
restart the service on each node in the cluster.
- Run the stop service
script.
./install_dir/ddcloud/stop.shNote: Shutting down Hybrid Data Pipeline can take a few minutes. Wait until you see the Shutdown complete message displayed on the console before taking any additional actions. - Run the start service
script.
./install_dir/ddcloud/start.sh
- Run the stop service
script.
- Review the log location to confirm that the directories have been created and log files are being written to this location.