daily pastebin goal
53%
SHARE
TWEET

log4j.properties

a guest Apr 29th, 2014 355 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. log.threshold=INFO
  2. main.logger=RFA
  3. hadoop.root.logger=${log.threshold},${main.logger}
  4. log4j.rootLogger=${hadoop.root.logger},EventCounter,EventCatcher
  5. log.dir=/var/log/hadoop-hdfs
  6. log.file=hadoop-cmf-hdfs-DATANODE-Cloudera-Agent1.cloudera.local.log.out
  7. max.log.file.size=200MB
  8. max.log.file.backup.index=10
  9. log4j.appender.RFA=org.apache.log4j.RollingFileAppender
  10. log4j.appender.RFA.File=${log.dir}/${log.file}
  11. log4j.appender.RFA.layout=org.apache.log4j.PatternLayout
  12. log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
  13. log4j.appender.RFA.MaxFileSize=${max.log.file.size}
  14. log4j.appender.RFA.MaxBackupIndex=${max.log.file.backup.index}
  15. log4j.appender.console=org.apache.log4j.ConsoleAppender
  16. log4j.appender.console.target=System.err
  17. log4j.appender.console.layout=org.apache.log4j.PatternLayout
  18. log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
  19. log4j.logger.org.apache.hadoop.fs.FSNamesystem.audit=WARN
  20. log4j.logger.org.jets3t.service.impl.rest.httpclient.RestS3Service=ERROR
  21. log4j.appender.NullAppender=org.apache.log4j.varia.NullAppender
  22. log4j.logger.com.cloudera.cmf.event.shaded.org.apache.avro.ipc=FATAL
  23. log4j.appender.EventCatcher=com.cloudera.cmf.eventcatcher.client.logs.ExceptionForwarderAppender
  24. log4j.appender.EventCatcher.serviceType=HDFS
  25. log4j.appender.EventCatcher.filterConfigFile=event-filter-rules.json
  26. log4j.appender.EventCatcher.service=hdfs
  27. log4j.appender.EventCatcher.roleInstance=hdfs-DATANODE-4748d0d11cc759cdf34324912599457c
  28. log4j.appender.EventCatcher.role=DATANODE
  29. log4j.appender.EventCatcher.hostId=ee648a37-dc06-4cc5-8c24-85c598eaeb9d
  30. log4j.appender.EventCatcher.eventServerPort=7184
  31. log4j.appender.EventCatcher.instanceHost=Cloudera-Agent1.cloudera.local
  32. log4j.appender.EventCatcher.eventServerHost=localhost.localdomain
  33. log4j.appender.EventCatcher.retryInterval=30
  34. hdfs.audit.logger=${log.threshold},RFAAUDIT
  35. hdfs.audit.log.maxfilesize=256MB
  36. hdfs.audit.log.maxbackupindex=20
  37. log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=${hdfs.audit.logger}
  38. log4j.additivity.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=false
  39. log4j.appender.RFAAUDIT=org.apache.log4j.RollingFileAppender
  40. log4j.appender.RFAAUDIT.File=${log.dir}/hdfs-audit.log
  41. log4j.appender.RFAAUDIT.layout=org.apache.log4j.PatternLayout
  42. log4j.appender.RFAAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %m%n
  43. log4j.appender.RFAAUDIT.MaxFileSize=${hdfs.audit.log.maxfilesize}
  44. log4j.appender.RFAAUDIT.MaxBackupIndex=${hdfs.audit.log.maxbackupindex}
  45. hadoop.security.logger=INFO,NullAppender
  46. hadoop.security.log.maxfilesize=256MB
  47. hadoop.security.log.maxbackupindex=20
  48. log4j.category.SecurityLogger=${hadoop.security.logger}
  49. log4j.additivity.SecurityLogger=false
  50. hadoop.security.log.file=SecurityAuth-${user.name}.audit
  51. log4j.appender.RFAS=org.apache.log4j.RollingFileAppender
  52. log4j.appender.RFAS.File=${log.dir}/${hadoop.security.log.file}
  53. log4j.appender.RFAS.layout=org.apache.log4j.PatternLayout
  54. log4j.appender.RFAS.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
  55. log4j.appender.RFAS.MaxFileSize=${hadoop.security.log.maxfilesize}
  56. log4j.appender.RFAS.MaxBackupIndex=${hadoop.security.log.maxbackupindex}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top