flume not picking log4j.properties -


i have been working in flume while , faced problem recently. (btw, working on flume-ng 1.3.1)

when used flume agent start command

"flume-ng agent --conf conf --conf-file /usr/lib/flume/conf/agent.conf --name agent" 

it has pick /conf/log4j.properties. but, not picking details. wanted change root.flume.logger debut see logger.debug messages in /var/log/flume/flume.log, not so.

log4j.properties file has details below.

flume.root.logger=info,logfile flume.log.dir=/var/log/flume flume.log.file=flume.log 

could not find net.. can 1 tried , tested it.?

the problem above thing is, expected in flume home directory when running this. configurations in conf directory considered while running. gave full path after --conf , tried. worked. have changed root.flume.logger properties , worked well. useful debug purpose well. root.flume.logger can changed debug,logfile , log written loggerfactory's debug method comments..

thought, minor mistake, hope gives 1 info debug , logger..


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -