GuoWei 2013-01-02, 05:45
Alexander Alten-Lorenz 2013-01-02, 07:23
GuoWei 2013-01-02, 10:00
Alexander Alten-Lorenz 2013-01-02, 11:17
Connor Woodson 2013-01-02, 22:41
GuoWei 2013-01-03, 02:47
-RE: where to Find flume-ng logs
Abhijeet Pathak 2013-01-04, 10:01
Using that method, if we have multiple agents, they all append to the same flume.log file.
Is there way to create separate log file for each agent without creating separate folder for each flume-Ng configuration?
Sent from my Windows Phone
From: Alexander Alten-Lorenz
Sent: 02-01-2013 16:48
To: [EMAIL PROTECTED]
Subject: Re: where to Find flume-ng logs
You've to add the log4j.properties into the classpath:
bin/flume-ng agent -n <agent> -f <configfile> --conf <config directory>
<config directory> means the directory where log4j.properties is located
In log4j.properties be sure you've the correct path:
On Jan 2, 2013, at 11:00 AM, GuoWei <[EMAIL PROTECTED]> wrote:
> Hello, Alexander,
> I start flume from the root directory ex: /home/hadoop/flume-ng.
> And I also make logs directory in flume-mg directory. And give the logs
> folder 777 permission.
> But I still can not see the log files under logs directory.
> I can view the log from the console. But never get the log file.
> Any wrong configurations ?
> On 13-1-2 下午3:23, "Alexander Alten-Lorenz" <[EMAIL PROTECTED]> wrote:
>> "./logs" means in the directory, from where you start flume, in the
>> subdirectory "logs".
>> On Jan 2, 2013, at 6:45 AM, GuoWei <[EMAIL PROTECTED]> wrote:
>>> I use flume-mg 1.3 to collect logs and user Hbase Sink to store data to
>>> Hbase. And I want to see flume-ng logs. But I can not find log under
>>> flume-ng root directory. My log4j.properties configure the log
>>> directory as
>>> default "./logs".
>>> And I start flume-ng as following:
>>>> Flume-ng agent ‹name host1 ‹conf-file
>>> Thanks a lot
German Hadoop LinkedIn Group: http://goo.gl/N8pCF
Alexander Alten-Lorenz 2013-01-04, 10:30