Dear All,
  I find in the file conf/log4j.properties,it specifies three appenders : 
ConsoleAppender DailyRollingFileAppender and TaskLogAppender.I know from the 
output location that JobClient output target is ConsoleAppender,that JobTracker 
TaskTracker NameNode and DataNode output target are all 
DailyRollingFileAppender and TaskLogAppender is the target of everytask`s 
output no matter map task or reduce task. 
But the problem is that in that configuration file it only points 
log4j.rootLogger = INFO,console. Other two appenders does not have 
corresponding logger,so how does the relationship between 
DailyRollingFileAppender and JobTracker for example establish? Where can I find 
it? In source code,script file or configuration file? Because I want to add 
some logs in my program with log4j.

Thanks Very Much!

Reply via email to