forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2.5 KiB
2.5 KiB
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.
Parent topic: Big Data Service Development