File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -126,3 +126,14 @@ log4j.logger.org.apache.hadoop.metrics2.impl.MetricsSystemImpl=WARN
126126# Disable request log by default, you can enable this by changing the appender
127127log4j.category.http.requests =INFO,NullAppender
128128log4j.additivity.http.requests =false
129+ # Replace the above with this configuration if you want an http access.log
130+ # log4j.appender.accessRFA=org.apache.log4j.RollingFileAppender
131+ # log4j.appender.accessRFA.File=/var/log/hbase/access.log
132+ # log4j.appender.accessRFA.layout=org.apache.log4j.PatternLayout
133+ # log4j.appender.accessRFA.layout.ConversionPattern=%m%n
134+ # log4j.appender.accessRFA.MaxFileSize=200MB
135+ # log4j.appender.accessRFA.MaxBackupIndex=10
136+ # route http.requests to the accessRFA appender
137+ # log4j.logger.http.requests=INFO,accessRFA
138+ # disable http.requests.* entries going up to the root logger
139+ # log4j.additivity.http.requests=false
You can’t perform that action at this time.
0 commit comments