我在CentOS中安装了Flume 1.4.0-cdh4.7.0(cloudera VM)
我运行了以下命令来启动水槽
flume-ng agent -n agent-name -c conf -f conf/flume.conf -Dflume.root.looger = DEBUG,console
但它只是将默认(INFO)级别写入控制台.想不通为什么?
您的命令行中有一个拼写错误:
flume-ng agent -n agent-name -c conf -f conf/flume.conf -Dflume.root.looger=DEBUG,console
它说root.looger而不是root.logger,所以你的命令行选项被log4j.propeties文件中的某些东西覆盖