There's an issue with the command you are typing

 bin/flume-ng agent  --conf ./conf -f conf/testConf.properties -n agent1 
-Dflume.root.logger=DEBUG,console

I have marked the error in red (inline)

Regards
Ashutosh


On 13-Sep-2012, at 12:19 PM, Prajakta Bavikar 
<[email protected]> wrote:

> I want to see logs in log file
> I hit this command
> bin/flume-ng agent -c conf  -f conf/flume.conf -Dflume.root.loggerEBUG,LOGGER 
>  -n agent1
>  
> and settings done in log4j.properties file:
> log4j.appender.LOGGER=org.apache.log4j.RollingFileAppender
> log4j.appender.LOGGER.MaxFileSize=100MB
> log4j.appender.LOGGER.MaxBackupIndex=10
> log4j.appender.LOGGER.File=${flume.log.dir}/${flume.log.file}
> log4j.appender.LOGGER.layout=org.apache.log4j.PatternLayout
>  
> But, it is not working, not showing any error as well, it just gets stopped
> DISCLAIMER ========== This e-mail may contain privileged and confidential 
> information which is the property of Persistent Systems Ltd. It is intended 
> only for the use of the individual or entity to which it is addressed. If you 
> are not the intended recipient, you are not authorized to read, retain, copy, 
> print, distribute or use this message. If you have received this 
> communication in error, please notify the sender and delete all copies of 
> this message. Persistent Systems Ltd. does not accept any liability for virus 
> infected mails.
> 

Reply via email to