This can be setup by using TaskLogAppender that comes with Chukwa.
In $HADOOP_CONF_DIR/log4j.properties, modify the TaskLogAppender configuration
Make sure chukwa-0.x.0-client.jar is in Hadoop class path, and restart Hadoop.
This should enable Task Attempt Logs to be sent through Chukwa data
collection system, and also log a copy locally on the task tracker
node. Hope this is what you are looking for.
On Mon, Jan 16, 2012 at 7:20 PM, Abhijit Dhar <[EMAIL PROTECTED]> wrote:
> Could you please point me how to stream the attempt logs that hadoop
> generates to chukwa, while at the same time saving them the way hadoop saves
> by default under attempt directories/stdout ?
> Thanks a lot
> View this message in context: http://apache-chukwa.679492.n3.nabble.com/hadoop-s-attempt-directory-logs-tp3665088p3665088.html
> Sent from the Chukwa - Users mailing list archive at Nabble.com.