Help Center/ MapReduce Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Big Data Service Development/ How Do I Change FlumeClient Logs to Standard Logs?
Updated on 2022-08-12 GMT+08:00

How Do I Change FlumeClient Logs to Standard Logs?

  1. Log in to the node where FlumeClient is running.
  2. 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

  3. Run the ./flume-manage.sh stop command to stop FlumeClient.
  4. 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.
  5. Run the vim /flume-manager.sh command to open the flume-manager.sh script in the bin directory in the Flume installation directory.
  6. Comment out the following information in the flume-manager.sh script:

    >/dev/null 2>&1 &

  7. Run the ./flume-manage.sh start command to restart FlumeClient.
  8. After the modification, check whether the Docker configuration is correct.