How Do I Change FlumeClient Logs to Standard Logs?
- Log in to the node where FlumeClient is running.
- Go to the FlumeClient installation directory.
For example, if the FlumeClient installation directory is /opt/FlumeClient, run the following command:
cd /opt/FlumeClient/fusioninsight-flume-1.9.0/bin
- Run the ./flume-manage.sh stop command to stop FlumeClient.
- Run the vi /log4j.properties command to open the log4j.properties file and change the value of flume.root.logger to ${flume.log.level},console.
- Run the vim /flume-manager.sh command to open the flume-manager.sh script in the bin directory in the Flume installation directory.
- Comment out the following information in the flume-manager.sh script:
>/dev/null 2>&1 &
- Run the ./flume-manage.sh start command to restart FlumeClient.
- After the modification, check whether the Docker configuration is correct.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.