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

Switch to Threaded View
Flume >> mail # dev >> Review Request: Improvement for Log4j configuration

Copy link to this message
Re: Review Request: Improvement for Log4j configuration

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 7, 2012, 2:19 a.m.)
Review request for Flume and Hari Shreedharan.

1. Delay changes in DatedFileAppender
2. Change '%-5p' location before thread name

Updated log4j.properties
1. Add 'logs' folder. It's better to aggregate logs into unified folder.
2. Log file using DailyRollingFileAppender
3. More useful log pattern. Add thread and code line information
4. Set debug level for Hadoop. If we use debug level, Hadoop log takes too many lines.
This addresses bug FLUME-1418.
Diffs (updated)

  trunk/conf/log4j.properties 1363210

Diff: https://reviews.apache.org/r/6316/diff/

That's OK in my environment

Denny Ye