Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Flume >> mail # user >> i am not able print logs in log file..


+
Prajakta Bavikar 2012-09-13, 06:49
+
Ashutosh Panigrahi 2012-09-13, 07:02
+
Will McQueen 2012-09-13, 07:05
+
Prajakta Bavikar 2012-09-13, 07:17
Copy link to this message
-
Re: i am not able print logs in log file..
What are the values your log4j.properties file has for 'flume.log.dir' and
'flume.log.file'? Does the user that's running the agent have write perms
to that dir?

On Thu, Sep 13, 2012 at 12:17 AM, Prajakta Bavikar <
[EMAIL PROTECTED]> wrote:

>  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:[EMAIL PROTECTED]]
> *Sent:* Thursday, September 13, 2012 12:36 PM
> *To:* [EMAIL PROTECTED]
> *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 <
> [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.****
>
> ** **
>
> 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.
>