spark修改控制台输出日志级别
spark修改控制台输出日志级别
修改conf/log4j.properties
cd $SPARK_HOME/conf
cp log4j.properties.template ./log4j.properties
vi log4j.properties
log4j.rootCategory=INFO, console
修改为:
log4j.rootCategory=WARN, console
cd $SPARK_HOME/conf
cp log4j.properties.template ./log4j.properties
vi log4j.properties
log4j.rootCategory=INFO, console
修改为:
log4j.rootCategory=WARN, console