flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prajakta Bavikar <Prajakta_Bavi...@persistent.co.in>
Subject RE: i am not able print logs in log file..
Date Thu, 13 Sep 2012 07:17:00 GMT
That's my bad(copy-paste error).. command was right
bin/flume-ng agent -c conf  -f conf/flume.conf -Dflume.root.logger=DEBUG,LOGGER  -n agent1

From: Will McQueen [mailto:will@cloudera.com]
Sent: Thursday, September 13, 2012 12:36 PM
To: user@flume.apache.org
Subject: Re: i am not able print logs in log file..

-Dflume.root.loggerEBUG,LOGGER
==>
-Dflume.root.logger=DEBUG,LOGGER
...?
On Wed, Sep 12, 2012 at 11:49 PM, Prajakta Bavikar <Prajakta_Bavikar@persistent.co.in<mailto: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.


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.

Mime
View raw message