Adjusting the Log Level of the Shell Client
- Temporary adjustment: After the Shell client window is closed, the log is restored to the default value.
- Run the export HADOOP_ROOT_LOGGER command to adjust the log level of the client.
- Run the export HADOOP_ROOT_LOGGER=log level,console command to adjust the log level of the Shell client.
Run the export HADOOP_ROOT_LOGGER=DEBUG,console command to adjust the log level to Debug.
Run the export HADOOP_ROOT_LOGGER=ERROR,console command to adjust the log level to Error.
- Permanent adjustment
- Add export HADOOP_ROOT_LOGGER=Log level,console to the HDFS client's environment variable configuration file /opt/client/HDFS/component_env (replace /opt/client with the actual client path).
- Run the source /opt/client/bigdata_env command.
- Run the command on the client again.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.