flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Panigrahi <apanigr...@sprinklr.com>
Subject Re: i am not able print logs in log file..
Date Thu, 13 Sep 2012 07:02:11 GMT

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)


On 13-Sep-2012, at 12:19 PM, Prajakta Bavikar <Prajakta_Bavikar@persistent.co.in> 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.

View raw message