The problem is that the log parameter is not set. Two methods: 1. add in command: -Dflume.root.logger=DEBUG,console cd /data/apache-flume-1.5.2-bin/ ./bin/flume-ng agent -n httpagent-m1 -c conf -f /data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name httpagent-m1 -Dflume.root.logger=DEBUG,console
2. add in command: -Dlog4j.configuration=./conf/log4j.properties cd /data/apache-flume-1.5.2-bin/ ./bin/flume-ng agent -n httpagent-m1 -c conf -f /data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name httpagent-m1 -Dlog4j.configuration=./conf/log4j.properties 发件人: zaenal rifai<mailto:[email protected]> 发送时间: 2016年1月12日 16:48 收件人: [email protected]<mailto:[email protected]> 主题: log4j:WARN hai i have some problem when running flume the error is + exec /usr/bin/java -Xmx1024m -cp '/opt/service/conf:/data/apache-flume-1.5.2-bin/lib/*' -Djava.library.path= org.apache.flume.node.Application --conf-file /data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name httpagent-m1 log4j:WARN No appenders could be found for logger (org.apache.flume.lifecycle.LifecycleSupervisor). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. i'm running flume with command /data/apache-flume-1.5.2-bin/bin/flume-ng agent -n httpagent-m1 -c conf -f /data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name httpagent-m1 any suggest what i must suppose to do ?
