In Chukwa conf directory, there is an example of using ChukwaDailyRollingFileAppender in hadoop-log4j.properties.
regards, Eric On Fri, Jul 29, 2011 at 6:00 PM, AD <[email protected]> wrote: > Thanks so much Eric. > Where can I check what the log4j.properties for > ChukwaDailyRollingFileAppender going to look like? > > I'm trying something like this. Please tell me if this is right? > > hadoop.root.logger=INFO,DRFA > log4j.rootLogger=ERROR,DRFA > log4j.appender.DRFA=org.apache.hadoop.chukwa.inputtools.log4j.ChukwaDailyRollingFileAppender > log4j.appender.DRFA.File=${hadoop.log.dir}/${hadoop.log.file} > log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout > log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n > > -- > View this message in context: > http://apache-chukwa.679492.n3.nabble.com/Df-Demux-processor-not-able-to-write-to-hbase-tp3205942p3211039.html > Sent from the Chukwa - Users mailing list archive at Nabble.com. >
